Module:Lorebook/Debug: Difference between revisions
Add detailed raw SMW data debugging to diagnose primary keys issue |
No edit summary |
||
Line 78: | Line 78: | ||
local function normalizeValue(val) | local function normalizeValue(val) | ||
if type(val) == 'table' then | if type(val) == 'table' then | ||
return val[1] | return val[1] | ||
end | end | ||
return val | return val | ||
end | end | ||