Code

Updated ACL handling
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 6 Sep 2010 07:56:29 +0000 (07:56 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 6 Sep 2010 07:56:29 +0000 (07:56 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@19516 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_userinfo.inc

index fcfaae8545494ab5fa9693dd4ea42343ce86b9ed..a1180da22cbad09122ef00374617cf49641cd5c0 100644 (file)
@@ -226,7 +226,7 @@ class userinfo
             /* Remove all acl entries which are especially for the current user (self acl)
              */
             foreach($acl_set['acl'] as $object => $object_acls){
-              if(isset($object_acls[0]) && strpos($object_acls[0],"s")){
+              if(isset($object_acls[0]) && strpos($object_acls[0],"s") !== FALSE){
                 unset($without_self_acl[$sdn][$dn][$acl_id]['acl'][$object]);
               }
             }