From a3377113ae3b0753b6f3e1c972284a89e1569df7 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 16 Feb 2023 02:26:08 +0100 Subject: [PATCH] Fix warnings --- htdocs/core/class/smtps.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/core/class/smtps.class.php b/htdocs/core/class/smtps.class.php index 92b835caf7f..135d9d9e8de 100644 --- a/htdocs/core/class/smtps.class.php +++ b/htdocs/core/class/smtps.class.php @@ -231,7 +231,7 @@ class SMTPs private $_errorsTo = ''; private $_deliveryReceipt = 0; private $_trackId = ''; - private $_moreInHeader = ''; + private $_moreinheader = ''; /** * An array of options for stream_context_create() @@ -1267,7 +1267,7 @@ class SMTPs $_RCPT_list = array(); // walk down Recipients array and pull just email addresses foreach ($this->_msgRecipients as $_host => $_list) { - if ($this->_msgRecipients[$_host][$_which]) { + if (!empty($this->_msgRecipients[$_host][$_which])) { foreach ($this->_msgRecipients[$_host][$_which] as $_addr => $_realName) { if ($_realName) { // @CHANGE LDR $_realName = '"'.$_realName.'"';