Code

Updated ACL detection
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 6 Sep 2010 08:27:09 +0000 (08:27 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 6 Sep 2010 08:27:09 +0000 (08:27 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19518 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_userinfo.inc

index e550a47d83aa1d08a2be8a835eae9ca96b51c398..1deade4a7c11b3b65e9f2087016370c035d524ef 100644 (file)
@@ -227,7 +227,7 @@ class userinfo
              */
             if(isset($acl_set['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]);
                     }
                 }