Fixed database renaming
Fixes #12955 Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
parent
80de044517
commit
f73a98e421
@ -55,6 +55,7 @@ phpMyAdmin - ChangeLog
|
||||
- issue #12941 Fixed sorting of tables in relation view
|
||||
- issue #12936 Fixed tables pagination in navigation panel
|
||||
- issue #12904 Do not collapse add form for central columns if there are none
|
||||
- issue #12955 Fixed database renaming
|
||||
|
||||
4.6.6 (2017-01-23)
|
||||
- issue #12759 Fix Notice regarding 'Undefined index: old_usergroup'
|
||||
|
||||
@ -37,7 +37,7 @@ $sql_query = '';
|
||||
/**
|
||||
* Rename/move or copy database
|
||||
*/
|
||||
if (strlen($GLOBALS['db'] > 0)
|
||||
if (strlen($GLOBALS['db']) > 0
|
||||
&& (! empty($_REQUEST['db_rename']) || ! empty($_REQUEST['db_copy']))
|
||||
) {
|
||||
if (! empty($_REQUEST['db_rename'])) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user