Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Čihař <michal@cihar.com>2017-02-06 15:31:39 +0300
committerMichal Čihař <michal@cihar.com>2017-02-06 15:31:39 +0300
commitf73a98e42176e1c463afd1d1c573892d3d1f7959 (patch)
tree50414cc32b7491201c94d6ab223ca6b501d760a0 /db_operations.php
parent80de04451754e747ec5d9b15183a682f4e718991 (diff)
Fixed database renaming
Fixes #12955 Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'db_operations.php')
-rw-r--r--db_operations.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/db_operations.php b/db_operations.php
index 9f884f0474..a934fc43aa 100644
--- a/db_operations.php
+++ b/db_operations.php
@@ -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'])) {