DataObjects/Core_person_signup.php
authorAlan Knowles <alan@roojs.com>
Mon, 2 Mar 2015 07:25:31 +0000 (15:25 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 2 Mar 2015 07:25:31 +0000 (15:25 +0800)
DataObjects/Core_person_signup.php

index 80fc002..791b4cf 100644 (file)
@@ -111,6 +111,7 @@ class Pman_Core_DataObjects_Core_person_signup extends DB_DataObject
         
         $target->insert();
         
+        $this->person_id = $target->id;
         // ok - deleting might not be a great idea.... - as we can not track already confirmed codes..
         
         //$this->delete();