diff --git a/trunk/gosa-core/include/class_userinfo.inc b/trunk/gosa-core/include/class_userinfo.inc
index 992f3da004b79c77a9db20bd85d77452b4b13287..f292c1bb9de613fbcdea0f172d006ab452962922 100644 (file)
/* Remove all acl entries which are especially for the current user (self acl)
*/
foreach($acl_set['acl'] as $object => $object_acls){
- if(strpos($object_acls[0],"s")){
- unset($without_self_acl[$sdn][$dn][$acl_id]['acl'][$object]);
+ if(isset($object_acls[0])){
+ if(strpos($object_acls[0],"s")){
+ unset($without_self_acl[$sdn][$dn][$acl_id]['acl'][$object]);
+ }
}
}
}