Changeset

3484:66910810a9f7

mod_adhoc: Fix passing data to util.dataforms
author Florian Zeitz <florob@babelmonkeys.de>
date Wed, 01 Sep 2010 22:44:30 +0200
parents 3483:443139c396c5
children 3485:3eee60c6a436
files plugins/adhoc/adhoc.lib.lua
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/adhoc/adhoc.lib.lua	Tue Aug 31 15:32:36 2010 +0100
+++ b/plugins/adhoc/adhoc.lib.lua	Wed Sep 01 22:44:30 2010 +0200
@@ -69,9 +69,9 @@
 			end
 			cmdtag:add_child(actions);
 		elseif name == "form" then
-			cmdtag:add_child((content.layout or content):form(content.data));
+			cmdtag:add_child((content.layout or content):form(content.values));
 		elseif name == "result" then
-			cmdtag:add_child((content.layout or content):form(content.data, "result"));
+			cmdtag:add_child((content.layout or content):form(content.values, "result"));
 		elseif name == "other" then
 			cmdtag:add_child(content);
 		end