Bump phpMailer from 6.7.1 to 6.8.0

This commit is contained in:
johnnyq
2023-03-18 12:44:55 -04:00
parent 4a2d76b056
commit 427c51b728
8 changed files with 272 additions and 9 deletions

View File

@@ -750,7 +750,7 @@ class PHPMailer
*
* @var string
*/
const VERSION = '6.7.1';
const VERSION = '6.8.0';
/**
* Error severity: message only, continue processing.
@@ -2423,7 +2423,7 @@ class PHPMailer
*/
public function addrFormat($addr)
{
if (empty($addr[1])) { //No name provided
if (!isset($addr[1]) || ($addr[1] === '')) { //No name provided
return $this->secureHeader($addr[0]);
}