From b2e5589eaf05b89e7a64e0885757518378f81947 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 14 Jan 2011 15:03:18 +0000 Subject: [PATCH] Fixed template adaption git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20594 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_plugin.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-core/include/class_plugin.inc b/gosa-core/include/class_plugin.inc index f932dd3f2..0180a8529 100644 --- a/gosa-core/include/class_plugin.inc +++ b/gosa-core/include/class_plugin.inc @@ -595,7 +595,7 @@ class plugin $this->attrs= $ldap->fetch(); $values = array(); - foreach($this->attributes as $name){ + foreach(array('uid','sn','givenName') as $name){ if(isset($this->parent->$name)){ $value = $this->parent->$name; if(is_numeric($name)) continue; -- 2.30.2