1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

minor fixes

This commit is contained in:
David Bomba 2023-02-15 22:55:18 +11:00
parent 9745cbed4a
commit 8d0b9fef1f

View File

@ -130,10 +130,10 @@ class EmailController extends BaseController
];
$mo = new MailObject;
$mo->subject = empty($subject) ? null : $subject;
$mo->body = empty($body) ? null : $body;
$mo->entity_string = $entity;
$mo->email_template = $template;
// $mo->subject = empty($subject) ? null : $subject;
// $mo->body = empty($body) ? null : $body;
// $mo->entity_string = $entity;
// $mo->email_template = $template;
if(Ninja::isHosted() && !$entity_obj->company->account->account_sms_verified)
return response(['message' => 'Please verify your account to send emails.'], 400);