Code

Fixed undefined index in case of 'ACL-type' reset
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 22 Apr 2010 14:47:53 +0000 (14:47 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 22 Apr 2010 14:47:53 +0000 (14:47 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17799 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_acl.inc

index 455a55ea2d431d878a02c8093fbbc28005ea7566..73d4784c7d3535d8fb6357d0cc3cff87eac3e4a1 100644 (file)
@@ -1185,6 +1185,7 @@ class acl extends plugin
       /* ACL's if needed */
       $final.= ":";
       if ($entry['type'] != "reset" && $entry['type'] != "role"){
+        $acl = "";
         if (isset($entry['acl'])){
           foreach ($entry['acl'] as $object => $contents){