From 1e7a52524c2e6596ace08a380aedda57d2e649d7 Mon Sep 17 00:00:00 2001 From: shagu Date: Thu, 18 Oct 2018 23:34:55 +0200 Subject: [PATCH] share: fix nil error on empty defconfig entries --- modules/share.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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