From 3eecd1d2d435332a27e1712cdb352391ffaa0b9d Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Fri, 2 May 2008 21:07:27 +0000 Subject: Updated roles git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1099 ab2d0c66-481e-0410-8bed-d214d4d58bed --- lib/viewfunctions.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/viewfunctions.lua') 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 .. "
\n") end myitem.name = tempname -- cgit v1.2.3