X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=plugins%2Fadmin%2Fgroups%2Fclass_groupAcl.inc;h=706edc95a1753f4c951769670c2a54b576a30200;hb=abc8a9b8c6eb1bac83a968b1525541c0f439d77f;hp=0c22986aa62fdabb39359201b547b82b33b219c6;hpb=3082209baacc737659b444a6de4ed6ef5588faaf;p=gosa.git
diff --git a/plugins/admin/groups/class_groupAcl.inc b/plugins/admin/groups/class_groupAcl.inc
index 0c22986aa..706edc95a 100644
--- a/plugins/admin/groups/class_groupAcl.inc
+++ b/plugins/admin/groups/class_groupAcl.inc
@@ -51,6 +51,7 @@ class acl extends plugin
{
/* Call parent execute */
plugin::execute();
+
/* Do we represent a valid group? */
if (!$this->is_account && $this->parent == NULL){
$display= "
".
@@ -111,7 +112,7 @@ class acl extends plugin
if ($this->object == "all"){
$this->current_acl= preg_replace ( "/[,]?all[,]?/", "", $this->current_acl);
}
- $this->current_acl= preg_replace ( "/[,]?$this->object#[^,]*[,]?/", "", $this->current_acl);
+ $this->current_acl= preg_replace ( "/[^a-z0-9A-Z]$this->object#[^,]*[,]?/", "", $this->current_acl);
/* assemble new attributes */
$attrs= "";