DataObjects/Person.php
authorEdward <edward@roojs.com>
Wed, 22 May 2013 10:33:55 +0000 (18:33 +0800)
committerEdward <edward@roojs.com>
Wed, 22 May 2013 10:33:55 +0000 (18:33 +0800)
DataObjects/Person.php

index 61767f4..06689aa 100644 (file)
@@ -898,7 +898,9 @@ class Pman_Core_DataObjects_Person extends DB_DataObject
             // set up groups
             // if $person->groups is set.. then
             // add this person to that group eg. groups : [ 'Administrator' ] 
-            
+            if(!empty($person['groups'])){
+                
+            }
             
             $p->onInsert(array(), $roo);