From: cajus Date: Fri, 27 Jun 2008 07:54:25 +0000 (+0000) Subject: Fixed login errors when skipping self X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=221b180d48411c1e6f572c94a423284506321ce7;p=gosa.git Fixed login errors when skipping self git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11463 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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){