mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 00:16:46 +02:00
The user editing screen and the change password screen didn't play very
well with debug = on. In fact the change password screen didn't play at all. Made a few small changes to fix notices and now everything works OK. Added a missing language string. ***************** This problem may very well exist in MOODLE_14_STABLE too! Unfortunately I don't have access to a 1.4 checkout right now, so it will have to wait. *****************
This commit is contained in:
parent
d6b3c7b82e
commit
54598fb04e
3 changed files with 5 additions and 7 deletions
|
@ -60,7 +60,7 @@ if (isadmin()) {
|
|||
}
|
||||
echo " </td>";
|
||||
echo "</tr>\n";
|
||||
if (!$adminself && ($CFG->{'auth_'.$user->auth.'_stdchangepassword'} || $CFG->changepassword)){
|
||||
if (!$adminself && (!empty($CFG->{'auth_'.$user->auth.'_stdchangepassword'}) || $CFG->changepassword)){
|
||||
if (get_user_preferences('auth_forcepasswordchange', NULL, $user->id)) {
|
||||
$checked = ' checked="checked" ';
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue