Skip to content

Commit

Permalink
fix condition
Browse files Browse the repository at this point in the history
  • Loading branch information
formsdev committed Oct 27, 2023
1 parent b7fdfe9 commit 11cbe71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Mail/Forms/SubmissionConfirmationMail.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function build()
'fields' => $formatter->getFieldsWithValue(),
'form' => $form,
'noBranding' => $form->no_branding,
'submission_id' => $this->event->data['submission_id'] ? Hashids::encode($this->event->data['submission_id']) : null
'submission_id' => (isset($this->event->data['submission_id']) && $this->event->data['submission_id']) ? Hashids::encode($this->event->data['submission_id']) : null
]);
}

Expand Down

0 comments on commit 11cbe71

Please sign in to comment.