diff --git a/modules/share.lua b/modules/share.lua index 7a315672..0b8f6d1b 100644 --- a/modules/share.lua +++ b/modules/share.lua @@ -8,7 +8,7 @@ pfUI:RegisterModule("share", function () for k, v in pairs(tbl) do if not ( ignored[k] and spacing == "" ) and ( not comp or not comp[k] or comp[k] ~= tbl[k] ) then if type(v) == "table" then - local result = serialize(tbl[k], comp[k], k, ignored, spacing .. " ") + local result = serialize(tbl[k], comp and comp[k], k, ignored, spacing .. " ") if result then match = true str = str .. result