summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2011-12-08 21:44:08 +0000
committerTed Trask <ttrask01@yahoo.com>2012-01-21 15:52:00 +0000
commit50599742e1592677bb45c91dc6c5e7772abad791 (patch)
treecb19f83d9824bf1820e981f09f894d9da5c67248
parent88a88892c778b6b854051d2182c6fba8db52f23f (diff)
downloadacf-core-50599742e1592677bb45c91dc6c5e7772abad791.tar.bz2
acf-core-50599742e1592677bb45c91dc6c5e7772abad791.tar.xz
Fixed bug in display of boolean default
(cherry picked from commit 61444c20122bd7b91ffaf568a2bcf69cc36fd63e)
-rw-r--r--lib/viewfunctions.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/viewfunctions.lua b/lib/viewfunctions.lua
index 67f839b..517023a 100644
--- a/lib/viewfunctions.lua
+++ b/lib/viewfunctions.lua
@@ -17,7 +17,7 @@ function getlabel(myitem, value)
end
end
end
- return value
+ return tostring(value)
end
function displayitemcustom(myitem, header_level)