From 1f6591b8d4f0d96d861ef0c9917463a5941730b4 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 28 Sep 2010 07:14:00 +0000 Subject: [PATCH] Fixed value loosing problem git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19824 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../goto/admin/systems/goto/Config/class_TemplateEngine.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gosa-plugins/goto/admin/systems/goto/Config/class_TemplateEngine.inc b/gosa-plugins/goto/admin/systems/goto/Config/class_TemplateEngine.inc index fb4d55a76..30767bc5b 100644 --- a/gosa-plugins/goto/admin/systems/goto/Config/class_TemplateEngine.inc +++ b/gosa-plugins/goto/admin/systems/goto/Config/class_TemplateEngine.inc @@ -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'], -- 2.30.2