login MDL-20875 Fixed bug with messaging popup when changing password. Thanks Rossi for the patch
This commit is contained in:
@@ -105,7 +105,8 @@
|
||||
$navlinks[] = array('name' => $fullname, 'link' => "$CFG->wwwroot/user/view.php?id=$USER->id&course=$course->id", 'type' => 'misc');
|
||||
$navlinks[] = array('name' => $strchangepassword, 'link' => null, 'type' => 'misc');
|
||||
$navigation = build_navigation($navlinks);
|
||||
|
||||
// Turn off pop-up messaging window for this page
|
||||
$CFG->messaging = 0;
|
||||
print_header($strchangepassword, $strchangepassword, $navigation);
|
||||
if (get_user_preferences('auth_forcepasswordchange')) {
|
||||
notify(get_string('forcepasswordchangenotice'));
|
||||
|
||||
Reference in New Issue
Block a user