Merge remote-tracking branch 'origin/QA_4_0' into QA_4_0

This commit is contained in:
Weblate 2013-09-10 18:49:06 +02:00
commit 4fa1ef37f9
2 changed files with 2 additions and 1 deletions

View File

@ -5,6 +5,7 @@ phpMyAdmin - ChangeLog
- bug #3993 Sorting in database overview with statistics doesn't work
- bug Handle the situation where PHP_SELF is not set
- bug #4080 Overwrite existing file not obeyed
- bug #3929 Database-specific privileges are not copied when cloning user
4.0.6.0 (2013-09-05)
- bug #4036 Call to undefined function mb_detect_encoding (clarify the doc)

View File

@ -3182,7 +3182,7 @@ function PMA_getDbSpecificPrivsQueriesForChangeOrCopyUser(
$user_host_condition = ' WHERE `User`'
.' = \'' . PMA_Util::sqlAddSlashes($_REQUEST['old_username']) . "'"
.' AND `Host`'
.' = \'' . PMA_Util::sqlAddSlashes($_REQUEST['old_username']) . '\';';
.' = \'' . PMA_Util::sqlAddSlashes($_REQUEST['old_hostname']) . '\';';
$res = PMA_DBI_query('SELECT * FROM `mysql`.`db`' . $user_host_condition);