Force smtp_port to int
This commit is contained in:
parent
ab6435594a
commit
aad7a0eb57
|
|
@ -621,7 +621,7 @@ class Email implements ShouldQueue
|
|||
$company = $this->company;
|
||||
|
||||
$smtp_host = $company->smtp_host ?? '';
|
||||
$smtp_port = $company->smtp_port ?? 0;
|
||||
$smtp_port = (int)$company->smtp_port ?? 0;
|
||||
$smtp_username = $company->smtp_username ?? '';
|
||||
$smtp_password = $company->smtp_password ?? '';
|
||||
$smtp_encryption = $company->smtp_encryption ?? 'tls';
|
||||
|
|
|
|||
Loading…
Reference in New Issue