diff --git a/app/models/observer/ticket/notification/background_job.rb b/app/models/observer/ticket/notification/background_job.rb
index 2f93161e7..3b44f4b64 100644
--- a/app/models/observer/ticket/notification/background_job.rb
+++ b/app/models/observer/ticket/notification/background_job.rb
@@ -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):
def template_header(_user)
'