make $sql_query persistent (init it, never unset it, always assume it is set)
This commit is contained in:
@@ -231,7 +231,7 @@ if (isset($_REQUEST['do_save_data'])) {
|
||||
. htmlspecialchars(PMA_backquote($db) . '.' . PMA_backquote($table))
|
||||
. ' ' . $strHasBeenCreated;
|
||||
$display_query = $sql_query;
|
||||
unset($sql_query);
|
||||
$sql_query = '';
|
||||
|
||||
// do not switch to sql.php - as there is no row to be displayed on a new table
|
||||
if ($cfg['DefaultTabTable'] === 'sql.php') {
|
||||
|
Reference in New Issue
Block a user