From 3da4c42f715f256c3c816634d5921f60805d555b Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sun, 15 Jan 2023 21:20:16 +1100 Subject: [PATCH] Rename variable --- app/Services/Email/EmailMailable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/Email/EmailMailable.php b/app/Services/Email/EmailMailable.php index aa05bc23b272..a7036b7e6a15 100644 --- a/app/Services/Email/EmailMailable.php +++ b/app/Services/Email/EmailMailable.php @@ -56,7 +56,7 @@ class EmailMailable extends Mailable public function content() { return new Content( - view: $this->email_object->template, + view: $this->email_object->html_template, text: $this->email_object->text_template, with: [ 'text_body' => strip_tags($this->email_object->body), //@todo this is a bit hacky here.