patch #2176438 [privileges] Wrong message when changing password

This commit is contained in:
Marc Delisle
2008-10-18 23:35:22 +00:00
parent 49d5ebe31e
commit 7e4a3a251e
2 changed files with 3 additions and 1 deletions

View File

@@ -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 -

View File

@@ -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 . '\'');
}
}