Dump.php
authorAlan Knowles <alan@akbkhome.com>
Mon, 21 Mar 2011 10:17:57 +0000 (18:17 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 21 Mar 2011 10:17:57 +0000 (18:17 +0800)
Dump.php

index 76ed1f4..c5f95be 100644 (file)
--- a/Dump.php
+++ b/Dump.php
@@ -272,7 +272,7 @@ class Pman_Admin_Dump extends Pman {
         static $children = array();
         
         if (!isset($children[$table])) { 
-            
+            $children[$table] = array();
             // force load of linsk
             $do->links();
             foreach($_DB_DATAOBJECT['LINKS'][$do->database()] as $tbl => $links) {
@@ -299,9 +299,7 @@ class Pman_Admin_Dump extends Pman {
             }
             print_R($children);
         }
-        if (empty($children[$table])) {
-            $children[$table] = array();
-        }
+         
         $do->selectAdd();
         $key = $keys[0];
         $do->selectAdd($key);