Module:Lorebook/Debug: Difference between revisions

Fix context trigger logic and SMW query - same fixes as main module
No edit summary
Line 77: Line 77:


local function normalizeValue(val)
local function normalizeValue(val)
  if type(val) == 'table' then
   return val
    return val[1] or ''
  end
   return val or ''
end
end