From be61cfd80d06a1c3c8289e6b62441b878a228673 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 6 Sep 2010 08:27:09 +0000 Subject: [PATCH] Updated ACL detection git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19518 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 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]); } } -- 2.30.2