UpdateDatabase.php
authorEdward <edward@roojs.com>
Wed, 22 May 2013 11:21:43 +0000 (19:21 +0800)
committerEdward <edward@roojs.com>
Wed, 22 May 2013 11:21:43 +0000 (19:21 +0800)
UpdateDatabase.php

index 563b0d0..6112a70 100644 (file)
@@ -104,7 +104,7 @@ class Pman_Core_UpdateDatabase extends Pman
                 die("Missing company name or type! Try --name [the name of company] -- comptype [the type of company] \n");
             }
             
-            DB_DataObject::factory('companies')->initCompanies($opt['name'], $opt['comptype']);
+            DB_DataObject::factory('companies')->initCompanies(HTML_Flexyframework::get()->page, $opt['name'], $opt['comptype']);
             
             die("DONE! \n");
         }