Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Mendel <cybot_tm@users.sourceforge.net>2007-04-01 13:26:14 +0400
committerSebastian Mendel <cybot_tm@users.sourceforge.net>2007-04-01 13:26:14 +0400
commitb2f3ae5fcfdd8aa881c7abf20ffccdfc583a518a (patch)
tree651e3e136e5fe5c6f9de5ddd0aa1440c92b7a6dd /querywindow.php
parent0848d0f654d08a5e2f04fd9ab7862825d8b35d45 (diff)
make $sql_query persistent (init it, never unset it, always assume it is set)
Diffstat (limited to 'querywindow.php')
-rw-r--r--querywindow.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/querywindow.php b/querywindow.php
index 2c0e6890dd..d1858e47d4 100644
--- a/querywindow.php
+++ b/querywindow.php
@@ -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