DataObjects/Person.php
authorAlan Knowles <alan@roojs.com>
Mon, 17 Dec 2012 03:10:58 +0000 (11:10 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 17 Dec 2012 03:10:58 +0000 (11:10 +0800)
DataObjects/Person.php

index ac9064e..a857b12 100644 (file)
@@ -810,6 +810,10 @@ class Pman_Core_DataObjects_Person extends DB_DataObject
     function onInsert($req, $roo)  
     {
         $p = DB_DataObject::factory('Person');
+        
+        print_R($roo->authUser->id);
+        exit;
+        
         if ($roo->authUser->id < 0 && $p->count() == 1) {
             // this seems a bit risky...