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

index 198b69c..2841195 100644 (file)
--- a/Dump.php
+++ b/Dump.php
@@ -90,7 +90,9 @@ class Pman_Admin_Dump extends Pman {
         if (!empty($errs)) {
             die(print_R($errs,true));
         }
-        
+        if (!empty($args['debug'])) {
+            DB_DataObject::debugLevel($args['debug']);
+        }
         $this->args = $args;
         $this->out = array();
         $this->discoverChildren($this->args['table'], $this->args['where'], true);