From e94d069cf2a182e0e049bc1cf3cafd16e517a2b7 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sat, 18 Oct 2008 23:35:22 +0000 Subject: [PATCH] patch #2176438 [privileges] Wrong message when changing password --- ChangeLog | 2 ++ server_privileges.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 164b567b3..b8dc326f0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -48,6 +48,8 @@ index + [lang] Finnish update, thanks to Jouni Kahkonen + [lang] Polish update, thanks to Jakub Wilk + [lang] Japanese update, thanks to Ishigaki Kenichi +- patch #2176438 [privileges] Wrong message when changing password, + thanks to incognito - zytisin 3.0.0.0 (2008-09-27) + [export] properly handle line breaks for YAML, thanks to Dan Barry - diff --git a/server_privileges.php b/server_privileges.php index a4ddbb2dd..b3255ba77 100644 --- a/server_privileges.php +++ b/server_privileges.php @@ -1167,7 +1167,7 @@ if (isset($_REQUEST['change_pw'])) { $local_query = 'SET PASSWORD FOR \'' . PMA_sqlAddslashes($username) . '\'@\'' . $hostname . '\' = ' . (($pma_pw == '') ? '\'\'' : $hashing_function . '(\'' . PMA_sqlAddslashes($pma_pw) . '\')'); PMA_DBI_try_query($local_query) or PMA_mysqlDie(PMA_DBI_getError(), $sql_query, FALSE, $err_url); - $message = PMA_Message::success('strPasswordEmpty'); + $message = PMA_Message::success('strPasswordChanged'); $message->addParam('\'' . $username . '\'@\'' . $hostname . '\''); } }