diff --git a/db_operations.php b/db_operations.php index e18fff6441..a21ec02227 100644 --- a/db_operations.php +++ b/db_operations.php @@ -29,6 +29,8 @@ $header = $response->getHeader(); $scripts = $header->getScripts(); $scripts->addFile('db_operations.js'); +$sql_query = ''; + /** * Rename/move or copy database */ @@ -43,7 +45,6 @@ if ($pmaString->strlen($GLOBALS['db']) $move = false; } - $sql_query = ''; if (! isset($_REQUEST['newname']) || ! $pmaString->strlen($_REQUEST['newname']) ) {