mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-18 03:11:40 +01:00
fix IDE warnings
This commit is contained in:
parent
6d6e9d8a43
commit
f5d4cdf7c0
@ -103,7 +103,7 @@ class egw_mailer extends PHPMailer
|
||||
{
|
||||
$port = $this->Port;
|
||||
$hosts = explode(';',$this->Host);
|
||||
foreach ($hosts as $k => &$host)
|
||||
foreach ($hosts as &$host)
|
||||
{
|
||||
$host = trim($host); // make sure there is no whitespace leading or trailling the host string
|
||||
if (in_array($port,array(465,587)) && strpos($host,'://')===false)
|
||||
@ -130,6 +130,7 @@ class egw_mailer extends PHPMailer
|
||||
*/
|
||||
public function SmtpSend($header, $body)
|
||||
{
|
||||
$matches = null;
|
||||
$mail_id = $GLOBALS['egw']->hooks->process(array(
|
||||
'location' => 'send_mail',
|
||||
'subject' => $this->Subject,
|
||||
|
Loading…
Reference in New Issue
Block a user