summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3bf0641)
raw | patch | inline | side by side (parent: 3bf0641)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 9 Mar 2009 14:46:58 +0000 (14:46 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 9 Mar 2009 14:46:58 +0000 (14:46 +0000) |
Author: psc
Date: 2009-03-06 14:04:49 +0100 (Fri, 06 Mar 2009)
New Revision: 13502
Modified:
branches/2.6-lhm/trunk/gosa-core/include/class_userinfo.inc
Log:
Check weither is defined, before using it (Fixes Trac #2193)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13518 594d385d-05f5-0310-b6e9-bd551577e9d8
Date: 2009-03-06 14:04:49 +0100 (Fri, 06 Mar 2009)
New Revision: 13502
Modified:
branches/2.6-lhm/trunk/gosa-core/include/class_userinfo.inc
Log:
Check weither is defined, before using it (Fixes Trac #2193)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13518 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_userinfo.inc | patch | blob | history |
index 992f3da004b79c77a9db20bd85d77452b4b13287..6be2be400a036ce6ad5a4bc08c0da1c0f7dd5da9 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")){
+ if(isset($object_acls[0]) && strpos($object_acls[0],"s")){
unset($without_self_acl[$sdn][$dn][$acl_id]['acl'][$object]);
}
}