Skip to content

Commit

Permalink
login MDL-20875 Fixed bug with messaging popup when changing password…
Browse files Browse the repository at this point in the history
…. Thanks Rossi for the patch
  • Loading branch information
Sam Hemelryk committed Nov 26, 2009
1 parent a2a5c08 commit 9cf8507
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion login/change_password.php
Expand Up @@ -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'));
Expand Down

0 comments on commit 9cf8507

Please sign in to comment.