Merge branch 'develop' of github.com:zammad/zammad into develop

This commit is contained in:
Ryan Lue 2018-04-19 17:40:44 +08:00
commit 5f728f20c3

View file

@ -181,7 +181,7 @@ class Transaction::Slack
result = notifier.ping result[:subject], result = notifier.ping result[:subject],
attachments: [attachment] attachments: [attachment]
end end
if !result.success? if !result.empty? && !result[0].success?
if sent_value if sent_value
Cache.delete(cache_key) Cache.delete(cache_key)
end end