From 66be2f7699c502628ab06f01c7156b34d76b92e3 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sun, 5 Oct 2014 17:31:56 -0400 Subject: [PATCH] Fix code execution path warning Signed-off-by: Marc Delisle --- db_operations.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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']) ) {