From 221b180d48411c1e6f572c94a423284506321ce7 Mon Sep 17 00:00:00 2001 From: cajus Date: Fri, 27 Jun 2008 07:54:25 +0000 Subject: [PATCH] Fixed login errors when skipping self git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11463 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_userinfo.inc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gosa-core/include/class_userinfo.inc b/gosa-core/include/class_userinfo.inc index 65cdfdfd9..4045821ba 100644 --- a/gosa-core/include/class_userinfo.inc +++ b/gosa-core/include/class_userinfo.inc @@ -475,9 +475,8 @@ class userinfo $found = FALSE; foreach($info['acl'] as $cat => $data){ - /* Skip self acls? - */ - if($skip_self_acls && preg_match("//s",$data['0'])) continue; + /* Skip self acls? */ + if($skip_self_acls && isset($data['0']) && preg_match("//s",$data['0'])) continue; if(is_array($module)){ foreach($module as $mod){ -- 2.30.2