From: hickert Date: Mon, 6 Sep 2010 07:56:29 +0000 (+0000) Subject: Updated ACL handling X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=27b1e5cab61cda905a03b7a4c9c68b06376e3c3c;p=gosa.git Updated ACL handling git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@19516 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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]); } }