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

@@ -135,7 +135,7 @@ if ($GLOBALS['cfg']['PropertiesIconic']) {
$url_query = PMA_generate_common_url($db, $table);
if (PMA_isValid($sql_query)) {
if (! empty($sql_query)) {
$show_query = 1;
}
@@ -160,7 +160,7 @@ if (! empty($show_query)) {
} else {
$query_to_display = '';
}
unset($sql_query);
$sql_query = '';
/**
* start HTML output