Skip to content

Commit 174b7dc

Browse files
committed
Update email.user_notification.subject Eventy filter
Added `$this->conversation` parameter to allow the Ticket Module to override the email subject.
1 parent a086151 commit 174b7dc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/Mail/UserNotification.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public function build()
9191
});
9292
}
9393

94-
$subject = \Eventy::filter('email.user_notification.subject','[#'.(isset($this->conversation->number)?$this->conversation->number:'').'] '.$this->conversation->subject);
94+
$subject = \Eventy::filter('email.user_notification.subject', '[#' . (isset($this->conversation->number) ? $this->conversation->number : '') . '] ' . $this->conversation->subject, $this->conversation);
9595

9696
$customer = $this->conversation->customer;
9797

0 commit comments

Comments
 (0)