From d52c961adf3b5fa5ba3afde767c9f878c4dfd76f Mon Sep 17 00:00:00 2001 From: Antonio Date: Fri, 18 Jan 2019 03:00:51 +0200 Subject: [PATCH] Update NewIncidentNotification.php Fix a incident name issue --- app/Notifications/Incident/NewIncidentNotification.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Notifications/Incident/NewIncidentNotification.php b/app/Notifications/Incident/NewIncidentNotification.php index 8ad938bb..f816fa6f 100644 --- a/app/Notifications/Incident/NewIncidentNotification.php +++ b/app/Notifications/Incident/NewIncidentNotification.php @@ -128,7 +128,7 @@ class NewIncidentNotification extends Notification ->$status() ->content($content) ->attachment(function ($attachment) use ($notifiable) { - $attachment->title(trans('notifications.incident.new.slack.title', [$this->incident->name])) + $attachment->title(trans('notifications.incident.new.slack.title', ['name' => $this->incident->name])) ->timestamp($this->incident->getWrappedObject()->occurred_at) ->fields(array_filter([ 'ID' => "#{$this->incident->id}",