Diff

mod_vjud/mod_vjud.lua @ 787:cec49ee88c23

mod_vjud: Correctly pass current state to form (Thanks Florob)
author Kim Alvefur <zash@zash.se>
date Thu, 09 Aug 2012 19:49:50 +0200
parent 742:da8f561d79b4
child 789:7e40d6680093
line wrap: on
line diff
--- a/mod_vjud/mod_vjud.lua	Tue Aug 07 15:51:15 2012 +0100
+++ b/mod_vjud/mod_vjud.lua	Thu Aug 09 19:49:50 2012 +0200
@@ -144,7 +144,7 @@
 		return { status = "completed" }
 	else -- No state, send the form.
 		return { status = "executing", actions  = { "complete" },
-			form = { layout = opt_in_layout, data = { searchable = opted_in[username] } } }, true;
+			form = { layout = opt_in_layout, values = { searchable = opted_in[username] } } }, true;
 	end
 end