Code

Fixed typo
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 18 Dec 2008 10:29:17 +0000 (10:29 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 18 Dec 2008 10:29:17 +0000 (10:29 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13317 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/systems/admin/systems/class_systemManagement.inc

index e6423173c36b632761505afbc960f606f857ac91..8fcbf72dbd678f1ae29bdcb817cf92600eeb0570 100644 (file)
@@ -376,7 +376,7 @@ class systems extends plugin
                 $ldap = $this->config->get_ldap_link();
                 $ldap->cat($dn);
                 $source_attrs = $ldap->fetch();
-                foreach(array("macAddress" => "mac" ,"cn" => "hostId","description","description") as $src => $attr){
+                foreach(array("macAddress" => "mac" ,"cn" => "hostId","description" => "description") as $src => $attr){
                   if(isset($source_attrs[$src][0])){
                     $this->systab->by_object['opsiGeneric']->$attr = $source_attrs[$src][0];
                   }