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

@ -119,16 +119,16 @@ class EmailCollection extends \MailSo\Base\Collection
while ($iCurrentPos < $sWorkingRecipientsLen)
{
switch ($sWorkingRecipients{$iCurrentPos})
switch ($sWorkingRecipients[$iCurrentPos])
{
case '\'':
case '"':
if (!$bIsInQuotes)
{
$sChQuote = $sWorkingRecipients{$iCurrentPos};
$sChQuote = $sWorkingRecipients[$iCurrentPos];
$bIsInQuotes = true;
}
else if ($sChQuote == $sWorkingRecipients{$iCurrentPos})
else if ($sChQuote == $sWorkingRecipients[$iCurrentPos])
{
$bIsInQuotes = false;
}