Code

Fixed template adaption
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 14 Jan 2011 15:03:18 +0000 (15:03 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 14 Jan 2011 15:03:18 +0000 (15:03 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20594 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_plugin.inc

index f932dd3f23b44e789e7d5cdebc636aae649fb29f..0180a8529a50fc25e108417911f1fecfdd84d9ad 100644 (file)
@@ -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;