From c8dea72c8ba7d35273417482dc59070a9de9b9ff Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Thu, 5 Jun 2008 14:06:22 +0000 Subject: Updated lbu to use new cfe model and components git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1197 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 3460764..312ba3b 100644 --- a/lib/viewfunctions.lua +++ b/lib/viewfunctions.lua @@ -93,7 +93,7 @@ function displayitem(myitem) end io.write(">" .. myitem.label .. "\n") io.write("
") - io.write(string.gsub(myitem.value, "\n", "
") .. "\n") + io.write(string.gsub(tostring(myitem.value), "\n", "
") .. "\n") if myitem.descr then io.write("

" .. string.gsub(myitem.descr, "\n", "
") .. "

\n") end if myitem.errtxt then io.write("

" .. string.gsub(myitem.errtxt, "\n", "
") .. "

\n") end io.write("
\n") -- cgit v1.2.3