Improved error handling.
This commit is contained in:
parent
c91a497650
commit
a5452a4cbd
1 changed files with 5 additions and 0 deletions
|
@ -75,6 +75,7 @@ class Observer::Ticket::Notification::BackgroundJob
|
||||||
next if !data
|
next if !data
|
||||||
next if !data['criteria']
|
next if !data['criteria']
|
||||||
channels = data['channel']
|
channels = data['channel']
|
||||||
|
next if !channels
|
||||||
if data['criteria']['owned_by_me'] && ticket.owner_id == user.id
|
if data['criteria']['owned_by_me'] && ticket.owner_id == user.id
|
||||||
data = {
|
data = {
|
||||||
user: user,
|
user: user,
|
||||||
|
@ -409,6 +410,10 @@ i18n(Changes):<br>
|
||||||
def template_header(_user)
|
def template_header(_user)
|
||||||
'
|
'
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
|
blockquote {
|
||||||
|
border-left: 2px solid blue;
|
||||||
|
padding-left: 1em;
|
||||||
|
}
|
||||||
.header {
|
.header {
|
||||||
color: #aaaaaa;
|
color: #aaaaaa;
|
||||||
border-bottom-style:solid;
|
border-bottom-style:solid;
|
||||||
|
|
Loading…
Reference in a new issue