From 0b611832f3d7a9f5ef2241eff291411fbdbff34a Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 7 Sep 2006 03:36:39 +0000 Subject: [PATCH] Fixed accessTo undefined index git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4609 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/personal/posix/class_posixAccount.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/personal/posix/class_posixAccount.inc b/plugins/personal/posix/class_posixAccount.inc index 5defa47bb..56fa2a652 100644 --- a/plugins/personal/posix/class_posixAccount.inc +++ b/plugins/personal/posix/class_posixAccount.inc @@ -1058,7 +1058,7 @@ class posixAccount extends plugin } $ldap->cd($this->config->current['BASE']); - $ldap->search("(&(objectClass=gosaUserTemplate)(uid=".$template."))", array("cn","accessTo")); + $ldap->search("(&(objectClass=gosaUserTemplate)(uid=".$template.")(accessTo=*))", array("cn","accessTo")); while($attr = $ldap->fetch()){ $tmp = $attr['accessTo']; unset ($tmp['count']); -- 2.30.2