From 3b785592282105780330c99432f5529c3dbe7b49 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sun, 25 Sep 2011 18:49:22 -0400 Subject: [PATCH] Undefined index --- pmd_general.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pmd_general.php b/pmd_general.php index 41fcb7988..a3926a4f6 100644 --- a/pmd_general.php +++ b/pmd_general.php @@ -42,7 +42,7 @@ echo ' var db = "' . PMA_escapeJsString($db) . '"; var token = "' . PMA_escapeJsString($token) . '";'; echo "\n"; - if($_REQUEST['query']) { + if (! empty($_REQUEST['query'])) { echo ' $(document).ready(function(){ $(".trigger").click(function(){ @@ -113,7 +113,7 @@ echo $script_tabs . $script_contr . $script_display_field; >key - '; echo 'key '; echo '
'; echo '
';