Module:Param Parse: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(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: | Line 321: | ||
-- Value |
-- Value |
||
function parse.value_func(val) |
function parse.value_func(val) |
||
if val == '' or val == ' ' then |
|||
return |
|||
end |
|||
local status, val = pcall(currency, val) |
local status, val = pcall(currency, val) |
||
if status then |
if status then |