minor fixes
This commit is contained in:
parent
9745cbed4a
commit
8d0b9fef1f
1 changed files with 4 additions and 4 deletions
|
|
@ -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…
Add table
Reference in a new issue