summaryrefslogtreecommitdiffstats
path: root/opennhrp-status-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2008-04-30 20:36:02 +0000
committerTed Trask <ttrask01@yahoo.com>2008-04-30 20:36:02 +0000
commita9b397e0711b80320cf74e4610fdc27791c84729 (patch)
tree49411e46b2f2d22878a615adbc71ae1ae7034ba5 /opennhrp-status-html.lsp
parent429c9ce3598fa0d1cda08700949458829e294f05 (diff)
downloadacf-opennhrp-a9b397e0711b80320cf74e4610fdc27791c84729.tar.bz2
acf-opennhrp-a9b397e0711b80320cf74e4610fdc27791c84729.tar.xz
Modified cfe, removing option, errtxt, and name, and adding label - This may break things.
Rewrote password module, adding model Modified authenticator to make password module work git-svn-id: svn://svn.alpinelinux.org/acf/opennhrp/trunk@1052 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'opennhrp-status-html.lsp')
-rw-r--r--opennhrp-status-html.lsp2
1 files changed, 1 insertions, 1 deletions
diff --git a/opennhrp-status-html.lsp b/opennhrp-status-html.lsp
index 5c16c8f..2c1a531 100644
--- a/opennhrp-status-html.lsp
+++ b/opennhrp-status-html.lsp
@@ -24,7 +24,7 @@ displayinfo(myform,tags,"viewonly")
local myform = form.status.show
io.write("\t<DT")
-if (#myform.errtxt > 0) then io.write(" class='error'") end
+if (myform.errtxt) then io.write(" class='error'") end
io.write(">" .. myform.label .. "</DT>\n")
io.write("\t\t<DD>\n")
for k,v in pairs(myform.option or {}) do