Code

fix for acl function
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 2 Dec 2005 14:00:29 +0000 (14:00 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 2 Dec 2005 14:00:29 +0000 (14:00 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2209 594d385d-05f5-0310-b6e9-bd551577e9d8

include/functions.inc

index 59286f3aae6a9ac5ac69845b2aca69a7721fca62..caccbd39f5f2ad7825be16996ccb6d2abc5508f8 100644 (file)
@@ -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#");