diff options
-rw-r--r-- | valua.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -54,7 +54,7 @@ function valua:new(obj) -- __call will run only when the value is validated self.__call = function(t,value) local res = true - local fres, err + local fres, err = nil if value == nil and t.allow_nil then return res, err |