mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-05 23:47:03 +03:00
object references corrections
This commit is contained in:
parent
44241b859c
commit
8dbf099934
2 changed files with 13 additions and 13 deletions
|
|
@ -898,7 +898,7 @@ class ImapClient extends \MailSo\Net\NetClient
|
|||
|
||||
$aReturn = array();
|
||||
$oImapResponse = null;
|
||||
foreach ($aResult as &$oImapResponse)
|
||||
foreach ($aResult as $oImapResponse)
|
||||
{
|
||||
if (FetchResponse::IsValidFetchImapResponse($oImapResponse))
|
||||
{
|
||||
|
|
@ -1089,13 +1089,13 @@ class ImapClient extends \MailSo\Net\NetClient
|
|||
private function validateThreadItem($aValue)
|
||||
{
|
||||
$mResult = false;
|
||||
if (is_numeric($aValue))
|
||||
if (\is_numeric($aValue))
|
||||
{
|
||||
$mResult = (int) $aValue;
|
||||
}
|
||||
else if (is_array($aValue))
|
||||
else if (\is_array($aValue))
|
||||
{
|
||||
if (1 === count($aValue) && is_numeric($aValue[0]))
|
||||
if (1 === count($aValue) && \is_numeric($aValue[0]))
|
||||
{
|
||||
$mResult = (int) $aValue[0];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue