Изменения
вставляем отдельно текст для раздела
self.issue = args.smalltext
self.issue = args.smalltext
else
else
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
issue = type(sect_issue) == 'string' and sect_issue ~= '' and sect_issue 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 = {}
table.insert(issues, sect)
if args.sect then
table.insert(issues, sect_issue)
else
table.insert(issues, issue)
table.insert(issues, issue)
table.insert(issues, text)
table.insert(issues, text)
end
self.issue = table.concat(issues, ' ')
self.issue = table.concat(issues, ' ')
end
end