summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ebb1523)
raw | patch | inline | side by side (parent: ebb1523)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 26 Nov 2008 10:20:36 +0000 (10:20 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 26 Nov 2008 10:20:36 +0000 (10:20 +0000) |
-
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13037 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13037 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_userinfo.inc | patch | blob | history |
index 08e232de746e1c7f0b263c45eac5c3995d2d5d5f..699c7151f4fcb505b9fbdb9a6c50001f9cf85fad 100644 (file)
/* Self ACLs?
*/
- if($dn != $this->dn && isset($subacl['acl'][$object][0]) && strpos($subacl['acl'][$object][0],"s")){
+ if($dn != $this->dn && isset($subacl['acl'][$object][0]) && (strpos($subacl['acl'][$object][0],"s") !== FALSE)){
continue;
}
foreach($info['acl'] as $cat => $data){
/* Skip self acls? */
- if($skip_self_acls && isset($data['0']) && strpos($data['0'], "s")) continue;
+ if($skip_self_acls && isset($data['0']) && (strpos($data['0'], "s") !== FALSE)) continue;
if(preg_match("/^".preg_quote($mod, '/')."/",$cat)){
$found =TRUE;
break;