summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 60c9fce)
raw | patch | inline | side by side (parent: 60c9fce)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 6 Sep 2010 07:56:29 +0000 (07:56 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 6 Sep 2010 07:56:29 +0000 (07:56 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@19516 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_userinfo.inc | patch | blob | history |
index fcfaae8545494ab5fa9693dd4ea42343ce86b9ed..a1180da22cbad09122ef00374617cf49641cd5c0 100644 (file)
/* 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]);
}
}