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

index cd8bad7..96a00fa 100644 (file)
--- a/Dump.php
+++ b/Dump.php
@@ -242,7 +242,7 @@ class Pman_Admin_Dump extends Pman {
      
     function discoverChildren($table, $where, $col=false  )
     {
-        echo "discoverChildren:$table:$col:". (is_array($where) ? implode(',', $where) : $where ). "\n";
+        echo "discoverChildren:$table:$col:". (is_array($where) ? (count($where) . " children" ): $where ). "\n";
         global $_DB_DATAOBJECT;
         $do = DB_DataObject::factory($table);
         if (PEAR::isError($do)) {