From: hickert Date: Mon, 6 Sep 2010 08:27:09 +0000 (+0000) Subject: Updated ACL detection X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=be61cfd80d06a1c3c8289e6b62441b878a228673;p=gosa.git Updated ACL detection git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19518 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_userinfo.inc b/gosa-core/include/class_userinfo.inc index e550a47d8..1deade4a7 100644 --- a/gosa-core/include/class_userinfo.inc +++ b/gosa-core/include/class_userinfo.inc @@ -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]); } }