Skip to content

Commit

Permalink
Fixed bad variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
roccivic committed Jun 14, 2012
1 parent 71988ff commit 69bdaed
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions user_password.php
Expand Up @@ -40,9 +40,9 @@
$password = $_REQUEST['pma_pw'];
}
$change_password_message = PMA_setChangePasswordMsg();
$message = $change_password_message['msg'];
$msg = $change_password_message['msg'];
if (! $change_password_message['error']) {
PMA_changePassword($password, $message, $change_password_message);
PMA_changePassword($password, $msg, $change_password_message);
} else {
PMA_getChangePassMessage($change_password_message);
}
Expand All @@ -54,9 +54,9 @@
*/

// Displays an error message if required
if (isset($message)) {
$message->display();
unset($message);
if (isset($msg)) {
$msg->display();
unset($msg);
}

require_once './libraries/display_change_password.lib.php';
Expand Down

0 comments on commit 69bdaed

Please sign in to comment.