From: hickert Date: Fri, 14 Jan 2011 15:03:18 +0000 (+0000) Subject: Fixed template adaption X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b2e5589eaf05b89e7a64e0885757518378f81947;p=gosa.git Fixed template adaption git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20594 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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;