From 5b99e79050595b7c2ce2e50c1cacc7b495cb0757 Mon Sep 17 00:00:00 2001 From: edalzell Date: Tue, 28 Sep 2021 14:55:58 -0700 Subject: [PATCH] likely the cause of the missing notifications https://github.com/transformstudios/zakat-v3/issues/130 --- src/Notifications/AlertRaised.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Notifications/AlertRaised.php b/src/Notifications/AlertRaised.php index cc805ca..72f50a7 100644 --- a/src/Notifications/AlertRaised.php +++ b/src/Notifications/AlertRaised.php @@ -14,7 +14,7 @@ public function toArray(): array return array_merge( parent::toArray(), [ - 'locations' => implode(',', Arr::get($this->alert, 'locations')), + 'locations' => implode(',', Arr::get($this->alert, 'locations', [])), ] ); }