Code

#Reverted last change
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 30 Oct 2008 10:15:28 +0000 (10:15 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 30 Oct 2008 10:15:28 +0000 (10:15 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12826 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_userinfo.inc

index 29a7962eb98fdfaa401c3021af4fef58d8393f6e..327cb3b1be947e8bd0169bd1d9f3dc914a15d32f 100644 (file)
@@ -199,8 +199,7 @@ class userinfo
     $acl= "";
     if (isset($this->ocMapping[$category])){
       foreach($this->ocMapping[$category] as $oc){
-        if(!$oc == 0 ) continue;
-        $acl.= $this->get_permissions($dn, $category."/".$oc,0);
+        $acl.= $this->get_permissions($dn, $category."/".$oc);
         if($any_acl && !empty($acl)){
           break;
         }