mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-03 04:00:02 +00:00
share: fix nil error on empty defconfig entries
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user