Permalink
Browse files

login MDL-20875 Fixed bug with messaging popup when changing password…

…. Thanks Rossi for the patch
  • Loading branch information...
1 parent a2a5c08 commit 9cf85078d55a53e82da1e1efcfc9c66c8307f3a4 Sam Hemelryk committed Nov 26, 2009
Showing with 2 additions and 1 deletion.
  1. +2 −1 login/change_password.php
@@ -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'));

0 comments on commit 9cf8507

Please sign in to comment.