DataObjects/Groups.php
authorAlan Knowles <alan@roojs.com>
Wed, 19 Dec 2012 09:18:07 +0000 (17:18 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 19 Dec 2012 09:18:07 +0000 (17:18 +0800)
DataObjects/Groups.php

index 07b6695..5561e89 100755 (executable)
@@ -102,7 +102,8 @@ class Pman_Core_DataObjects_Groups extends DB_DataObject
         if (!$ids) {
             return array();
         }
-        $p = DB_Dataobject::factory(empty($ff->Pman['authTable']) ? 'Person' : $ff->Pman['authTable']);
+        //$p = DB_Dataobject::factory(empty($ff->Pman['authTable']) ? 'Person' : $ff->Pman['authTable']);
+        $p = DB_Dataobject::factory( 'Person' );
         $p->whereAdd('id IN ('. implode(',', $ids) .')');
         $p->active = 1;
         return $p->fetchAll($what);