diff options
Diffstat (limited to 'libs/uvl')
-rw-r--r-- | libs/uvl/luasrc/uvl/datatypes.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/uvl/luasrc/uvl/datatypes.lua b/libs/uvl/luasrc/uvl/datatypes.lua index 971bb9d75..fc37fa3c6 100644 --- a/libs/uvl/luasrc/uvl/datatypes.lua +++ b/libs/uvl/luasrc/uvl/datatypes.lua @@ -29,6 +29,8 @@ function boolean( val ) return true elseif val == "0" or val == "no" or val == "off" or val == "false" then return true + elseif val == "" or val == nil then + return true end return false |