aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/dataforms.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/dataforms.lua b/util/dataforms.lua
index 85bb39c1..1e01f6e8 100644
--- a/util/dataforms.lua
+++ b/util/dataforms.lua
@@ -214,7 +214,7 @@ field_readers["boolean"] =
if value ~= nil then
return value;
elseif raw_value then
- return "Invalid boolean representation";
+ return nil, "Invalid boolean representation";
elseif required then
return nil, "Required value missing";
end