Module:Sandbox/ChaoticShadow/InfoboxBuilder: Difference between revisions

Content added Content deleted
No edit summary
No edit summary
Tag: Reverted
Line 352: Line 352:
if options.hideIfEmpty and #options.hideIfEmpty > 0 then
if options.hideIfEmpty and #options.hideIfEmpty > 0 then
local actual_values = {}
local actual_values = {}
for i,v in ipairs(options.hideIfEmpty) do
for v in pairs(options.hideIfEmpty) do
table.insert(actual_values, self:getContent(v.content))
table.insert(actual_values, self:getContent(v.content))
end
end