DataObjects/core.sql
[Pman.Core] / DataObjects / Groups.php
index 5561e89..cd60ebd 100755 (executable)
@@ -103,7 +103,9 @@ class Pman_Core_DataObjects_Groups extends DB_DataObject
             return array();
         }
         //$p = DB_Dataobject::factory(empty($ff->Pman['authTable']) ? 'Person' : $ff->Pman['authTable']);
+        // groups databse is hard coded to person.. so this should not be used for other tables.????
         $p = DB_Dataobject::factory( 'Person' );
+        
         $p->whereAdd('id IN ('. implode(',', $ids) .')');
         $p->active = 1;
         return $p->fetchAll($what);