[Phpmyadmin-git] [SCM] phpMyAdmin branch, QA_3_3, updated. RELEASE_3_3_6-15-g1b812f2

Marc Delisle lem9 at users.sourceforge.net
Mon Aug 30 18:55:11 CEST 2010


The branch, QA_3_3 has been updated
       via  1b812f2d25189b4903028d7f98793542559b1d14 (commit)
      from  73ce5705bd1e0b62060f75702d62f88247ce09dd (commit)


- Log -----------------------------------------------------------------
commit 1b812f2d25189b4903028d7f98793542559b1d14
Author: Marc Delisle <marc at infomarc.info>
Date:   Mon Aug 30 12:54:12 2010 -0400

    undefined variables after deleting a user

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

Summary of changes:
 libraries/common.lib.php |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/libraries/common.lib.php b/libraries/common.lib.php
index d5b38cc..610438c 100644
--- a/libraries/common.lib.php
+++ b/libraries/common.lib.php
@@ -1080,6 +1080,9 @@ function PMA_showMessage($message, $sql_query = null, $type = 'notice')
 
         // Basic url query part
         $url_params = array();
+        if (! isset($GLOBALS['db'])) {
+            $GLOBALS['db'] = '';
+        }
         if (strlen($GLOBALS['db'])) {
             $url_params['db'] = $GLOBALS['db'];
             if (strlen($GLOBALS['table'])) {


hooks/post-receive
-- 
phpMyAdmin




More information about the Git mailing list