patch #2176438 [privileges] Wrong message when changing password
This commit is contained in:
@@ -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 -
|
||||
|
@@ -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 . '\'');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user