mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-04 18:34:37 -04:00
minor fixes
This commit is contained in:
parent
9745cbed4a
commit
8d0b9fef1f
@ -130,10 +130,10 @@ class EmailController extends BaseController
|
|||||||
];
|
];
|
||||||
|
|
||||||
$mo = new MailObject;
|
$mo = new MailObject;
|
||||||
$mo->subject = empty($subject) ? null : $subject;
|
// $mo->subject = empty($subject) ? null : $subject;
|
||||||
$mo->body = empty($body) ? null : $body;
|
// $mo->body = empty($body) ? null : $body;
|
||||||
$mo->entity_string = $entity;
|
// $mo->entity_string = $entity;
|
||||||
$mo->email_template = $template;
|
// $mo->email_template = $template;
|
||||||
|
|
||||||
if(Ninja::isHosted() && !$entity_obj->company->account->account_sms_verified)
|
if(Ninja::isHosted() && !$entity_obj->company->account->account_sms_verified)
|
||||||
return response(['message' => 'Please verify your account to send emails.'], 400);
|
return response(['message' => 'Please verify your account to send emails.'], 400);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user