projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62424e4
)
DataObjects/Groups.php
author
Alan Knowles
<alan@roojs.com>
Wed, 19 Dec 2012 09:19:47 +0000
(17:19 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 19 Dec 2012 09:19:47 +0000
(17:19 +0800)
DataObjects/Groups.php
patch
|
blob
|
history
diff --git
a/DataObjects/Groups.php
b/DataObjects/Groups.php
index
6e05077
..
cd60ebd
100755
(executable)
--- a/
DataObjects/Groups.php
+++ b/
DataObjects/Groups.php
@@
-105,6
+105,7
@@
class Pman_Core_DataObjects_Groups extends DB_DataObject
//$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);