change_password.php produces JS error fixed typo MDL-6750

This commit is contained in:
skodak 2006-10-08 20:29:13 +00:00
parent 39d764f932
commit 8b902ba4a0

View File

@ -35,7 +35,7 @@
</td>
</tr>
<?php if (!ihas_capability('moodle/user:update',get_context_instance(CONTEXT_SYSTEM, SITEID))) { ?>
<?php if (!has_capability('moodle/user:update',get_context_instance(CONTEXT_SYSTEM, SITEID))) { ?>
<tr valign="top">
<td><?php print_string("oldpassword") ?>:</td>
<td><input type="password" name="password" size="25" value="<?php p($frm->password) ?>" alt="<?php print_string("password") ?>" />