[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_4_3_2-16243-g2a1a204
    Piotr Przybylski 
    crackpl at users.sourceforge.net
       
    Sun Aug 21 21:06:27 CEST 2011
    
    
  
The branch, master has been updated
       via  2a1a204bd607396e24f5ce741d4fa994377a5ddc (commit)
      from  0eb8f28a0675cbac494629c9b117b096bb2169c0 (commit)
- Log -----------------------------------------------------------------
commit 2a1a204bd607396e24f5ce741d4fa994377a5ddc
Author: Piotr Przybylski <piotrprz at gmail.com>
Date:   Sun Aug 21 21:06:07 2011 +0200
    Fix notice about undefined variable
-----------------------------------------------------------------------
Summary of changes:
 pmd_general.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/pmd_general.php b/pmd_general.php
index cf8d842..1a7d3df 100644
--- a/pmd_general.php
+++ b/pmd_general.php
@@ -32,7 +32,7 @@ echo '
     var db = "' . PMA_escapeJsString($db) . '";
     var token = "' . PMA_escapeJsString($token) . '";';
     echo "\n";
-    if ($_REQUEST['query']) {
+    if (isset($_REQUEST['query'])) {
     echo '
      $(document).ready(function() {
         $(".trigger").click(function() {
@@ -103,7 +103,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 (isset($_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="';
hooks/post-receive
-- 
phpMyAdmin
    
    
More information about the Git
mailing list