[Phpmyadmin-git] [SCM] phpMyAdmin branch, QA_3_4, updated. RELEASE_3_4_5-26-g3b78559
Marc Delisle
lem9 at users.sourceforge.net
Mon Sep 26 00:50:53 CEST 2011
The branch, QA_3_4 has been updated
via 3b785592282105780330c99432f5529c3dbe7b49 (commit)
from 66adfdef30f0a3c802c7bf268e97d7faf49f223e (commit)
- Log -----------------------------------------------------------------
commit 3b785592282105780330c99432f5529c3dbe7b49
Author: Marc Delisle <marc at infomarc.info>
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
More information about the Git
mailing list