DataObjects/Core_person_signup.php
[Pman.Core] / DataObjects / Core_person_signup.php
index e5d3705..22d058d 100644 (file)
@@ -107,7 +107,8 @@ class Pman_Core_DataObjects_Core_person_signup extends DB_DataObject
         $hydra_person->employer_name = $this->company_name;
         
         $hydra_person->insert();
-        $hydra_person->onInsert(array(), $this);
+        
+        return $hydra_person;
     }
     
     function sendVerification($template, $roo)