From 510971b35f4b8f36931cb8ee0ffd5a4035d1726a Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sun, 13 Feb 2022 21:06:40 +1100 Subject: [PATCH] Minor fixes --- app/Jobs/PostMark/ProcessPostmarkWebhook.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Jobs/PostMark/ProcessPostmarkWebhook.php b/app/Jobs/PostMark/ProcessPostmarkWebhook.php index e2f1355f3044..290807e64e7a 100644 --- a/app/Jobs/PostMark/ProcessPostmarkWebhook.php +++ b/app/Jobs/PostMark/ProcessPostmarkWebhook.php @@ -78,7 +78,8 @@ class ProcessPostmarkWebhook implements ShouldQueue if(!$this->invitation) return; - $this->invitation->email_error = $this->request['Details']; + if(array_key_exists('Details', $this->request)) + $this->invitation->email_error = $this->request['Details']; switch ($this->request['RecordType']) {