Code

Fixed saving of lists
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 19 May 2011 13:27:30 +0000 (13:27 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 19 May 2011 13:27:30 +0000 (13:27 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20889 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto-ng/admin/newConfigManagement/TemplateEngine/class_TemplateWidget_list.inc

index a73f4ed093d38454bea4bebd4ebff04e1c90dc1f..f4e0eb9739f3d8279c50723f8f83b132d769a959 100644 (file)
@@ -48,7 +48,7 @@ class TemplateWidget_list extends TemplateWidget
             }
         }
 
-        $this->value = $this->listWidget->getMaintainedData();
+        $this->value = array_values($this->listWidget->getMaintainedData());
     }
 
     /*! \brief  Check the value entry using the provieded syntax.