mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
change_password.php produces JS error fixed typo MDL-6750
This commit is contained in:
parent
39d764f932
commit
8b902ba4a0
@ -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") ?>" />
|
||||
|
Loading…
x
Reference in New Issue
Block a user