Code

Check just the attribute we want to access, actually
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 27 Jul 2006 11:15:41 +0000 (11:15 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 27 Jul 2006 11:15:41 +0000 (11:15 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4325 594d385d-05f5-0310-b6e9-bd551577e9d8

include/class_userinfo.inc

index c077dc4c53e4c06f61af69de57b409ed4bd8c44a..b8a2fa737c523943bdbbe252fabeee13f1d4bd00 100644 (file)
@@ -202,7 +202,7 @@ class userinfo
           }
 
           /* Global ACL? */
-          if (isset($subacl['acl']['all'])){
+          if (isset($subacl['acl']['all'][0])){
             $acl= $this->mergeACL($acl, $subacl['type'], $subacl['acl']['all'][0]);
             continue;
           }