[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_4_3_1-13118-gdd2dc3a

Michal Čihař nijel at users.sourceforge.net
Fri Aug 5 08:19:37 CEST 2011


The branch, master has been updated
       via  dd2dc3a5a7665a09bd128571ea1ac9a4389d68db (commit)
      from  872a2e60796886abe706d1d548537ecdc9bab0d4 (commit)


- Log -----------------------------------------------------------------
commit dd2dc3a5a7665a09bd128571ea1ac9a4389d68db
Author: Michal Čihař <michal at cihar.com>
Date:   Fri Aug 5 08:19:18 2011 +0200

    Shortcut when export can not work

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

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

diff --git a/libraries/export/xml.php b/libraries/export/xml.php
index 216055c..3e4bda2 100644
--- a/libraries/export/xml.php
+++ b/libraries/export/xml.php
@@ -11,6 +11,8 @@ if (! defined('PHPMYADMIN')) {
 }
 
 if (strlen($GLOBALS['db'])) { /* Can't do server export */
+    return;
+}
 
 if (isset($plugin_list)) {
     $plugin_list['xml'] = array(
@@ -365,6 +367,5 @@ if (isset($plugin_list)) {
 
         return true;
     } // end of the 'PMA_getTableXML()' function
-    }
 }
 ?>


hooks/post-receive
-- 
phpMyAdmin




More information about the Git mailing list