From: hickert Date: Tue, 28 Sep 2010 07:14:00 +0000 (+0000) Subject: Fixed value loosing problem X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1f6591b8d4f0d96d861ef0c9917463a5941730b4;p=gosa.git Fixed value loosing problem git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19824 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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'],