Module:Param Parse: Difference between revisions
parse a value parameter of '' or ' ' as not being present (previously would parse it as a value of 0)
(parse a missing duration variable for a venture into an edit button) |
(parse a value parameter of '' or ' ' as not being present (previously would parse it as a value of 0)) |
||
Line 321:
-- Value
function parse.value_func(val)
if val == '' or val == ' ' then
return
end
local status, val = pcall(currency, val)
if status then
|