From 7e4a3a251e31f77e6a75edf56cc651e6757cdfd5 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 f7776d17e..e98c81a8e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -23,6 +23,8 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA + [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 . '\''); } }