Code

Updated list widget
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 20 Apr 2011 11:04:24 +0000 (11:04 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 20 Apr 2011 11:04:24 +0000 (11:04 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20755 594d385d-05f5-0310-b6e9-bd551577e9d8

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

index d95da2c57885b78653ccc7a0634e877aa4eb131f..ccac0fee9c74059746170ff045552462aed71cd3 100644 (file)
@@ -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);