2
0
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:
Frédéric FRANCE
2024-08-01 10:52:53 +02:00
committed by GitHub
parent 2068f29b44
commit 173dc1a70e
17 changed files with 51 additions and 46 deletions

View File

@@ -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);