Code

Fixed passing of acl's
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 26 Jul 2006 13:37:26 +0000 (13:37 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 26 Jul 2006 13:37:26 +0000 (13:37 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4319 594d385d-05f5-0310-b6e9-bd551577e9d8

include/class_userinfo.inc

index 20c48209b71ac4c6758286d5017793afa2891d45..c077dc4c53e4c06f61af69de57b409ed4bd8c44a 100644 (file)
@@ -197,13 +197,13 @@ class userinfo
 
           /* Per object ACL? */
           if (isset($subacl['acl'][$object][0])){
-            $acl= $this->mergeACL($acl, $subacl['type'], preg_replace('/[cdm]/', '', $subacl['acl'][$object][0]));
+            $acl= $this->mergeACL($acl, $subacl['type'], $subacl['acl'][$object][0]);
             continue;
           }
 
           /* Global ACL? */
           if (isset($subacl['acl']['all'])){
-            $acl= $this->mergeACL($acl, $subacl['type'], preg_replace('/[cdm]/', '', $subacl['acl']['all'][0]));
+            $acl= $this->mergeACL($acl, $subacl['type'], $subacl['acl']['all'][0]);
             continue;
           }