From 56e925f40f744f6c944c5f2f83604bf1aeda6b21 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sat, 24 Jul 2021 11:05:00 +1000 Subject: [PATCH] fixes for company gateyway validation --- app/Mail/TemplateEmail.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/Mail/TemplateEmail.php b/app/Mail/TemplateEmail.php index 6c9a9217a0bc..511930eea991 100644 --- a/app/Mail/TemplateEmail.php +++ b/app/Mail/TemplateEmail.php @@ -107,7 +107,10 @@ class TemplateEmail extends Mailable $message->invitation = $this->invitation; }); - //hosted | plan check here + /*TODO insert another check here for whether the attachment exists */ + nlog($this->build_email->getAttachments()); + + foreach ($this->build_email->getAttachments() as $file) { if(is_string($file))