From: hickert Date: Wed, 20 Apr 2011 11:04:24 +0000 (+0000) Subject: Updated list widget X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3b682d8faf2d40bfbf187b365632ad8a1ce98ca6;p=gosa.git Updated list widget git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20755 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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);