UpdateDatabase.php
authorEdward <edward@roojs.com>
Wed, 22 May 2013 07:29:38 +0000 (15:29 +0800)
committerEdward <edward@roojs.com>
Wed, 22 May 2013 07:29:38 +0000 (15:29 +0800)
UpdateDatabase.php

index 74f2bd9..bea5f70 100644 (file)
@@ -61,7 +61,7 @@ class Pman_Core_UpdateDatabase extends Pman
                 die("Missing Source directory for json files or prefix for the passwrod! Try -f [JSON file path] -p [prefix] \n");
             }
             
-            DB_DataObject::factory('person')->createPerson();
+            DB_DataObject::factory('person')->createPerson($opt);
             die("DONE!");
         }
         $this->importSQL();