From: hickert Date: Fri, 2 Dec 2005 14:00:29 +0000 (+0000) Subject: fix for acl function X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3dcc7e81e2897cab1d61f08dcf3b6b6168c8963e;p=gosa.git fix for acl function git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2209 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/functions.inc b/include/functions.inc index 59286f3aa..caccbd39f 100644 --- a/include/functions.inc +++ b/include/functions.inc @@ -692,7 +692,10 @@ function get_module_permission($acl_array, $module, $dn) foreach ($tmp as $mod){ if (preg_match("/$module#/", $mod)){ $final= strstr($mod, "#")."#"; - continue; + + // HICKERT + // old source : continue; + return($final); } if (preg_match("/[^#]$module$/", $mod)){ return ("#all#");