DataObjects/Core_person.php
authorAlan Knowles <alan@roojs.com>
Thu, 20 Oct 2016 02:22:03 +0000 (10:22 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 20 Oct 2016 02:22:03 +0000 (10:22 +0800)
DataObjects/Core_person.php

index 6e7421f..07e330d 100644 (file)
@@ -657,7 +657,7 @@ class Pman_Core_DataObjects_Core_person extends DB_DataObject
         $g = DB_DataObject::Factory('core_group_member');
         $grps = $g->listGroupMembership($this);
        //var_dump($grps);
-        $isAdmin = $g->isAdmin; 
+        $isAdmin = $g->inAdmin;   //???  what???
         //echo '<PRE>'; print_r($grps);var_dump($isAdmin);
         // the load all the perms for those groups, and add them all together..
         // then load all those