Изменения
Перейти к навигации
Перейти к поиску
мСтрока 227:
Строка 227:
− +
− +
− +
оформление
local issue = args.issue
local issue = args.issue
issue = type(issue) == 'string' and issue ~= '' and issue or nil
issue = type(issue) == 'string' and issue ~= '' and issue or nil
local sect_issue = args.sect_issue
local issue_sect = args.issue_sect
issue = type(sect_issue) == 'string' and sect_issue ~= '' and sect_issue or nil
issue = type(issue_sect) == 'string' and issue_sect ~= '' and issue_sect or nil
local text = args.text
local text = args.text
text = type(text) == 'string' and text or nil
text = type(text) == 'string' and text or nil
local issues = {}
local issues = {}
if args.sect then
if args.sect then
table.insert(issues, sect_issue)
table.insert(issues, issue_sect)
else
else
table.insert(issues, issue)
table.insert(issues, issue)