Code

Fixed value loosing problem
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 28 Sep 2010 07:14:00 +0000 (07:14 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 28 Sep 2010 07:14:00 +0000 (07:14 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19824 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/admin/systems/goto/Config/class_TemplateEngine.inc

index fb4d55a7681ff36e23e8f7b9c3642e909bcf7411..30767bc5b5a966c8d7da495725c45d1dad281f3e 100644 (file)
@@ -59,7 +59,7 @@ class TemplateEngine
      *  @param  String  The name of the item we want to render now.
      *  @param  Array   The initial value.
      */
-    function setValues($name)
+    function setValues($name, $values)
     {
         // Set the current item type and reset the widget list.
         $this->itemType = $name;
@@ -91,7 +91,7 @@ class TemplateEngine
 
                 // Create the new widget.
                 $this->widgets[$name] = new $widgetClassName($this->config, $name, 
-                        $item['value'],
+                        $value,
                         $item['description'],
                         $item['required'],
                         $item['type'],