From 3dcc7e81e2897cab1d61f08dcf3b6b6168c8963e Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 2 Dec 2005 14:00:29 +0000 Subject: [PATCH] fix for acl function git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2209 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/functions.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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#"); -- 2.30.2