From 6ba45429a7af6a7ca89ade1f599e3a4a3fe76cbb Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 31 Oct 2008 07:35:06 +0000 Subject: [PATCH] Fixed for loop git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12838 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_userinfo.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-core/include/class_userinfo.inc b/gosa-core/include/class_userinfo.inc index 7e2023a27..39ea1ae11 100644 --- a/gosa-core/include/class_userinfo.inc +++ b/gosa-core/include/class_userinfo.inc @@ -596,7 +596,7 @@ class userinfo /* Skip objectClass '0' (e.g. users/0) get_permissions will ever return '' ?? */ if($oc == "0") continue; $tmp = $this->get_permissions($dn, $category."/".$oc); - for($i = 0, $l= strlen($types); $i < $l; $i++) { + for($i = 0; $l= strlen($types); $i < $l; $i++) { if(!preg_match("/".$types[$i]."/",$tmp)){ $acl = preg_replace("/".$types[$i]."/","",$acl); } -- 2.30.2