Anonymous user
Module:Message box: Difference between revisions
Jump to navigation
Jump to search
fix bug where the arguments where all getting removed if cfg.allowBlankParams wasn't present
(on second thoughts, I like this way of passing params to category handler better) |
(fix bug where the arguments where all getting removed if cfg.allowBlankParams wasn't present) |
||
Line 156:
local newArgs = {}
for k, v in pairs(args) do
for i, param in ipairs(cfg.allowBlankParams or {}) do▼
newArgs[k] = v▼
▲ end
end
end
end
return newArgs
|