The branch, master has been updated
       via  316ea9f006d1409103e81f3f7f23c137ddf49f85 (commit)
      from  598d3b898d6be009a1827a08b5705e15d30e90f0 (commit)


- Log -----------------------------------------------------------------
commit 316ea9f006d1409103e81f3f7f23c137ddf49f85
Author: Marc Delisle <[email protected]>
Date:   Sun Sep 19 09:26:49 2010 -0400

    prevent a call with incorrect parameter value

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

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

diff --git a/libraries/common.lib.php b/libraries/common.lib.php
index 7dd39f9..b1da1de 100644
--- a/libraries/common.lib.php
+++ b/libraries/common.lib.php
@@ -2931,7 +2931,7 @@ function PMA_ajaxResponse($message, $success = true, 
$extra_data = array())
     }
 
     // If extra_data has been provided, append it to the response array
-    if( count($extra_data) > 0 ) {
+    if( ! empty($extra_data) && count($extra_data) > 0 ) {
         $response = array_merge($response, $extra_data);
     }
 


hooks/post-receive
-- 
phpMyAdmin

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Phpmyadmin-git mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/phpmyadmin-git

Reply via email to