Fixed typo.

This commit is contained in:
Martin Edenhofer 2017-03-17 06:30:44 +01:00
parent 14507180a3
commit 47b49222cb

View file

@ -270,8 +270,8 @@ returns
} }
attributes['attachments'].push item attributes['attachments'].push item
} }
if articles['body'] && articles['content_type'] =~ %r{text/html}i if attributes['body'] && attributes['content_type'] =~ %r{text/html}i
articles['body'] = HtmlSanitizer.dynamic_image_size(articles['body']) attributes['body'] = HtmlSanitizer.dynamic_image_size(attributes['body'])
end end
Ticket::Article.insert_urls(attributes) Ticket::Article.insert_urls(attributes)
end end