The branch, QA_3_4 has been updated
       via  3b785592282105780330c99432f5529c3dbe7b49 (commit)
      from  66adfdef30f0a3c802c7bf268e97d7faf49f223e (commit)


- Log -----------------------------------------------------------------
commit 3b785592282105780330c99432f5529c3dbe7b49
Author: Marc Delisle <[email protected]>
Date:   Sun Sep 25 18:49:22 2011 -0400

    Undefined index

-----------------------------------------------------------------------

Summary of changes:
 pmd_general.php |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/pmd_general.php b/pmd_general.php
index 41fcb79..a3926a4 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;
         ><img src="pmd/images/pdf.png" alt="key" width="20" height="20"
                 title="<?php echo __('Import/Export coordinates for PDF 
schema'); ?>" /></a
          >
-        <?php if($_REQUEST['query']){
+        <?php if (! empty($_REQUEST['query'])){
             echo '<a href="#" onClick="build_query(\'SQL Query on Database\', 
0)" onmousedown="return false;"
             class="M_butt" target="_self">';
             echo '<img src="pmd/images/query_builder.png" alt="key" width="20" 
height="20" title="';
@@ -801,7 +801,7 @@ for ($i = 0; $i < count($GLOBALS['PMD']["TABLE_NAME"]); 
$i++) {
 </table>
 
 <?php
-if($_REQUEST['query']) {
+if (! empty($_REQUEST['query'])) {
        echo '<div class="panel">';
        echo '<div style="clear:both;"></div>';
        echo '<div id="ab"></div>';


hooks/post-receive
-- 
phpMyAdmin

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Phpmyadmin-git mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/phpmyadmin-git

Reply via email to