projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
811056c
)
DataObjects/Groups.php
author
edward
<edward@roojs.com>
Mon, 18 Jul 2016 07:07:25 +0000
(15:07 +0800)
committer
edward
<edward@roojs.com>
Mon, 18 Jul 2016 07:07:25 +0000
(15:07 +0800)
DataObjects/Groups.php
patch
|
blob
|
history
diff --git
a/DataObjects/Groups.php
b/DataObjects/Groups.php
index
2efc94a
..
4db0364
100755
(executable)
--- a/
DataObjects/Groups.php
+++ b/
DataObjects/Groups.php
@@
-140,6
+140,9
@@
class Pman_Core_DataObjects_Groups extends DB_DataObject
function postListFilter($ar, $au, $req)
{
+ if(!empty($req['_not_add_others'])){
+ return $ar;
+ }
$ret[] = array( 'id' => 0, 'name' => 'EVERYONE');
$ret[] = array( 'id' => -1, 'name' => 'NOT_IN_GROUP');