projects
/
Pman.Admin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5ca8a3
)
GroupRights.php
author
Alan Knowles
<alan@roojs.com>
Fri, 14 Sep 2012 05:57:13 +0000
(13:57 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 14 Sep 2012 05:57:13 +0000
(13:57 +0800)
GroupRights.php
patch
|
blob
|
history
diff --git
a/GroupRights.php
b/GroupRights.php
index
43034a9
..
15046b8
100644
(file)
--- a/
GroupRights.php
+++ b/
GroupRights.php
@@
-66,7
+66,7
@@
class Pman_Admin_GroupRights extends Pman
$gr = DB_DataObject::factory('group_rights');
$gr->group_id = (int)$_GET['group_id'];
$gr->rightname = $k;
- $gr->accessmask = $
defdata[1]; // set to defaults.
.
+ $gr->accessmask = $
g->type == 2 ? '' : $defdata[1]; // set to defaults.. unless it's a contact group
.
$gr->insert();
$cur[$k] = clone($gr);
}