Модуль:GetField: различия между версиями

мНет описания правки
мНет описания правки
Строка 40: Строка 40:
local function format_value(v)
local function format_value(v)
     if v == nil then return "" end
     if v == nil then return "" end
    if type(v) == "table" and next(v) == nil then
        return ""
    end
     local t = type(v)
     local t = type(v)
     if t == "string" or t == "number" or t == "boolean" then
     if t == "string" or t == "number" or t == "boolean" then