From 3b682d8faf2d40bfbf187b365632ad8a1ce98ca6 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 20 Apr 2011 11:04:24 +0000 Subject: [PATCH] Updated list widget git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20755 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../TemplateEngine/class_TemplateWidget_list.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/gosa-plugins/goto-ng/admin/newConfigManagement/TemplateEngine/class_TemplateWidget_list.inc b/gosa-plugins/goto-ng/admin/newConfigManagement/TemplateEngine/class_TemplateWidget_list.inc index d95da2c57..ccac0fee9 100644 --- a/gosa-plugins/goto-ng/admin/newConfigManagement/TemplateEngine/class_TemplateWidget_list.inc +++ b/gosa-plugins/goto-ng/admin/newConfigManagement/TemplateEngine/class_TemplateWidget_list.inc @@ -4,6 +4,7 @@ class TemplateWidget_list extends TemplateWidget { function __construct(&$config, $name, $value, $description,$syntax,$required,$type,$display,$values) { + if(!$value) $value =array(); parent:: __construct($config, $name, $value, $description,$syntax,$required,$type,$display,$values); $this->listWidget= new sortableListing($this->value); -- 2.30.2