Changeset

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
parents 786:e318a341d332
children 788:aeb0999f12fa
files mod_vjud/mod_vjud.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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