diff options
Diffstat (limited to 'lib/viewfunctions.lua')
-rw-r--r-- | lib/viewfunctions.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/viewfunctions.lua b/lib/viewfunctions.lua index c7aa53f..5080a34 100644 --- a/lib/viewfunctions.lua +++ b/lib/viewfunctions.lua @@ -99,7 +99,7 @@ function displayitem(myitem, viewtype) for x,val in ipairs(myitem.option) do myitem.value = val myitem.checked = reverseval[val] - myitem.name = tempname .. "." .. val + myitem.name = tempname .. "." .. x io.write(html.form.checkbox(myitem) .. val .. "<br>\n") end myitem.name = tempname |