Bugfix $oRange should be $oUidRange in FolderExpunge

This commit is contained in:
djmaze 2022-01-06 11:47:18 +01:00
parent a228f81ece
commit 55160a5152

View file

@ -910,7 +910,7 @@ class ImapClient extends \MailSo\Net\NetClient
$sCmd = 'EXPUNGE';
$aArguments = array();
if ($oUidRange && \count($oUidRange) && $oRange->UID && $this->IsSupported('UIDPLUS')) {
if ($oUidRange && \count($oUidRange) && $oUidRange->UID && $this->IsSupported('UIDPLUS')) {
$sCmd = 'UID '.$sCmd;
$aArguments = array((string) $oUidRange);
}