mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
minor fixes
This commit is contained in:
parent
9745cbed4a
commit
8d0b9fef1f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user