Improved error handling.

This commit is contained in:
Martin Edenhofer 2016-02-08 23:06:21 +01:00
parent c91a497650
commit a5452a4cbd

View file

@ -75,6 +75,7 @@ class Observer::Ticket::Notification::BackgroundJob
next if !data
next if !data['criteria']
channels = data['channel']
next if !channels
if data['criteria']['owned_by_me'] && ticket.owner_id == user.id
data = {
user: user,
@ -409,6 +410,10 @@ i18n(Changes):<br>
def template_header(_user)
'
<style type="text/css">
blockquote {
border-left: 2px solid blue;
padding-left: 1em;
}
.header {
color: #aaaaaa;
border-bottom-style:solid;