[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_3_7-10222-g316ea9f
    Marc Delisle 
    lem9 at users.sourceforge.net
       
    Sun Sep 19 15:26:58 CEST 2010
    
    
  
The branch, master has been updated
       via  316ea9f006d1409103e81f3f7f23c137ddf49f85 (commit)
      from  598d3b898d6be009a1827a08b5705e15d30e90f0 (commit)
- Log -----------------------------------------------------------------
commit 316ea9f006d1409103e81f3f7f23c137ddf49f85
Author: Marc Delisle <marc at infomarc.info>
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
    
    
More information about the Git
mailing list