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']) {