mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-29 11:23:54 +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;
|
$port = $this->Port;
|
||||||
$hosts = explode(';',$this->Host);
|
$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
|
$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)
|
if (in_array($port,array(465,587)) && strpos($host,'://')===false)
|
||||||
@ -130,6 +130,7 @@ class egw_mailer extends PHPMailer
|
|||||||
*/
|
*/
|
||||||
public function SmtpSend($header, $body)
|
public function SmtpSend($header, $body)
|
||||||
{
|
{
|
||||||
|
$matches = null;
|
||||||
$mail_id = $GLOBALS['egw']->hooks->process(array(
|
$mail_id = $GLOBALS['egw']->hooks->process(array(
|
||||||
'location' => 'send_mail',
|
'location' => 'send_mail',
|
||||||
'subject' => $this->Subject,
|
'subject' => $this->Subject,
|
||||||
|
Loading…
Reference in New Issue
Block a user