diff options
Diffstat (limited to 'db_operations.php')
-rw-r--r-- | db_operations.php | 2 |
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'])) { |