Anonymous

Module:Items/ComparisonTables: Difference between revisions

From Melvor Idle
m
getTableForList: Fix includeModifiers param handling
mNo edit summary
m (getTableForList: Fix includeModifiers param handling)
Line 357: Line 357:
local pFrame = frame:getParent()
local pFrame = frame:getParent()
local frameArgs = pFrame.args ~= nil and pFrame.args or frame
local frameArgs = pFrame.args ~= nil and pFrame.args or frame
local includeModifiers = frame.includeModifiers ~= nil and string.upper(frame.includeModifiers) == 'TRUE' or false
local includeModifiers = frameArgs.includeModifiers ~= nil and string.upper(frameArgs.includeModifiers) == 'TRUE' or false


local itemList, errItems = {}, {}
local itemList, errItems = {}, {}