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

мНет описания правки
мНет описания правки
Строка 280: Строка 280:


     if searchValue == "" or pagePath == "" or keyPath == "" then
     if searchValue == "" or pagePath == "" or keyPath == "" then
         return "[]"
         return ""
     end
     end


Строка 296: Строка 296:
     local idsTable = data.id
     local idsTable = data.id
     if type(idsTable) ~= "table" then
     if type(idsTable) ~= "table" then
         return "[]"
         return ""
     end
     end


Строка 332: Строка 332:


     if #matches == 0 then
     if #matches == 0 then
         return "[]"
         return ""
     end
     end


Строка 340: Строка 340:
     end
     end


     return "[]"
     return ""
end
end