make $sql_query persistent (init it, never unset it, always assume it is set)

This commit is contained in:
Sebastian Mendel
2007-04-01 09:26:14 +00:00
parent 0848d0f654
commit b2f3ae5fcf
19 changed files with 46 additions and 58 deletions

View File

@@ -24,7 +24,7 @@ if (empty($is_db)) {
if (isset($message)) {
$url_params['message'] = $message;
}
if (isset($sql_query)) {
if (! empty($sql_query)) {
$url_params['sql_query'] = $sql_query;
}
if (isset($show_as_php)) {
@@ -72,7 +72,7 @@ if (empty($is_table) && !defined('PMA_SUBMIT_MULT')) {
if (isset($message)) {
$url_params['message'] = $message;
}
if (isset($sql_query)) {
if (! empty($sql_query)) {
$url_params['sql_query'] = $sql_query;
}
if (isset($display_query)) {