Fix PHP 7.4 Deprecate message

This commit is contained in:
djmaze 2020-03-16 14:27:17 +01:00
parent 26c38b3ec9
commit 7eb1defa16
7 changed files with 22 additions and 22 deletions

View file

@ -89,11 +89,11 @@ class Email
while ($iCurrentIndex < \strlen($sEmailAddress))
{
switch ($sEmailAddress{$iCurrentIndex})
switch ($sEmailAddress[$iCurrentIndex])
{
// case '\'':
case '"':
// $sQuoteChar = $sEmailAddress{$iCurrentIndex};
// $sQuoteChar = $sEmailAddress[$iCurrentIndex];
if ((!$bInName) && (!$bInAddress) && (!$bInComment))
{
$bInName = true;