forked from Wavyzz/dolibarr
fix constructor expects int (#30512)
* constructor expects int * fix constructor expects int * fix constructor expects int * fix constructor expects int * fix constructor expects int * fix constructor expects int * fix constructor expects int * fix constructor expects int * fix constructor expects int * fix constructor expects int * fix constructor expects int --------- Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
@@ -1206,7 +1206,7 @@ class CMailFile
|
||||
$secure = 'tls';
|
||||
}
|
||||
|
||||
$this->transport = new Swift_SmtpTransport($server, getDolGlobalString($keyforsmtpport), $secure);
|
||||
$this->transport = new Swift_SmtpTransport($server, getDolGlobalInt($keyforsmtpport), $secure);
|
||||
|
||||
if (getDolGlobalString($keyforsmtpid)) {
|
||||
$this->transport->setUsername($conf->global->$keyforsmtpid);
|
||||
|
||||
Reference in New Issue
Block a user