]> git.mjollnir.org Git - moodle.git/commitdiff
change_password.php produces JS error fixed typo MDL-6750
authorskodak <skodak>
Sun, 8 Oct 2006 20:29:13 +0000 (20:29 +0000)
committerskodak <skodak>
Sun, 8 Oct 2006 20:29:13 +0000 (20:29 +0000)
login/change_password_form.html

index ff585a6262b39071a263fce8e08aa4ff2be649c9..82382413e6c72513cc32ef8c81dfcf4e7e1c06b2 100644 (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") ?>" />