X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=include%2Fclass_pluglist.inc;h=f296fc621905ec3a5a1e19b2095d1cc6cf7df58b;hb=df21359f1d9c651679365d181c2b7b9b5e71d7a7;hp=7e857efc46c580a783ca33f45d76bf50e6d17f6d;hpb=36132efb753e98b9e0779defb4f991316333eb7c;p=gosa.git diff --git a/include/class_pluglist.inc b/include/class_pluglist.inc index 7e857efc4..f296fc621 100644 --- a/include/class_pluglist.inc +++ b/include/class_pluglist.inc @@ -70,7 +70,7 @@ class pluglist { /* Look through ACL's */ foreach($this->ui->subtreeACL as $arr){ foreach($arr as $value){ - if ($value == ':all' || preg_match("/[,:]$modname#/", $value)){ + if ($value == ':all' || preg_match("/[,:]".normalizePreg($modname)."#/", $value)){ if (!preg_match('/^!/', $value)){ return (TRUE); }