From 27b1e5cab61cda905a03b7a4c9c68b06376e3c3c Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 6 Sep 2010 07:56:29 +0000 Subject: [PATCH] Updated ACL handling git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@19516 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_userinfo.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-core/include/class_userinfo.inc b/gosa-core/include/class_userinfo.inc index fcfaae854..a1180da22 100644 --- a/gosa-core/include/class_userinfo.inc +++ b/gosa-core/include/class_userinfo.inc @@ -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]); } } -- 2.30.2