From 56b31de6ff13318c5d0ad39f483119042a0f1668 Mon Sep 17 00:00:00 2001 From: Mika Havela Date: Mon, 18 Feb 2008 14:56:32 +0000 Subject: Creating tags folder for 'dhcp' git-svn-id: svn://svn.alpinelinux.org/acf/fetchmail/trunk@739 ab2d0c66-481e-0410-8bed-d214d4d58bed --- fetchmail-config-html.lsp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'fetchmail-config-html.lsp') diff --git a/fetchmail-config-html.lsp b/fetchmail-config-html.lsp index ded27eb..4a6cba3 100644 --- a/fetchmail-config-html.lsp +++ b/fetchmail-config-html.lsp @@ -7,11 +7,12 @@ io.write("") --]] ?> + ") for k,v in pairs(tags) do - if (myform[v]) then + if (myform[v]) and (myform[v].value) then local val = myform[v] io.write("\t 0) then io.write(" class='error'") end @@ -30,7 +31,7 @@ end function configform(myform,tags) io.write("
") for k,v in pairs(tags) do - if (myform[v]) then + if (myform[v]) and (myform[v].value) then local val = myform[v] io.write("\t 0) then io.write(" class='error'") end -- cgit v1.2.3