login MDL-20875 Fixed bug with messaging popup when changing password. Thanks Rossi for the patch

This commit is contained in:
Sam Hemelryk
2009-11-26 07:25:31 +00:00
parent a2a5c0875e
commit 9cf85078d5
+2 -1
View File
@@ -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'));