diff options
author | Ted Trask <ttrask01@yahoo.com> | 2008-06-05 14:06:22 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2008-06-05 14:06:22 +0000 |
commit | c8dea72c8ba7d35273417482dc59070a9de9b9ff (patch) | |
tree | 8d766700b282b2d0d4be01dc48cd9bcdb81a3fe8 /lib/viewfunctions.lua | |
parent | 7bc745d79d2013e2610d1b802c4a12cbc7748a86 (diff) | |
download | acf-core-c8dea72c8ba7d35273417482dc59070a9de9b9ff.tar.bz2 acf-core-c8dea72c8ba7d35273417482dc59070a9de9b9ff.tar.xz |
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
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 3460764..312ba3b 100644 --- a/lib/viewfunctions.lua +++ b/lib/viewfunctions.lua @@ -93,7 +93,7 @@ function displayitem(myitem) end io.write(">" .. myitem.label .. "</DT>\n") io.write("<DD>") - io.write(string.gsub(myitem.value, "\n", "<BR>") .. "\n") + io.write(string.gsub(tostring(myitem.value), "\n", "<BR>") .. "\n") if myitem.descr then io.write("<P CLASS='descr'>" .. string.gsub(myitem.descr, "\n", "<BR>") .. "</P>\n") end if myitem.errtxt then io.write("<P CLASS='error'>" .. string.gsub(myitem.errtxt, "\n", "<BR>") .. "</P>\n") end io.write("</DD>\n") |