Fix error "can not pass parameter 3 by reference"

This commit is contained in:
Hadi Nategh 2015-05-05 08:42:03 +00:00
parent 50782cfa8b
commit 29618305c0

View File

@ -1247,7 +1247,7 @@ class emailadmin_imapbase
// we filter for the combined status of unseen and undeleted, as this is what we show in list // we filter for the combined status of unseen and undeleted, as this is what we show in list
try try
{ {
$sortResult = $this->getSortedList($_folderName, $_sort=0, 1, array('status'=>array('UNSEEN','UNDELETED')),true,false); $sortResult = $this->getSortedList($_folderName, $_sort=0, $_reverse=1, array('status'=>array('UNSEEN','UNDELETED')),true,false);
$retValue['unseen'] = $sortResult['count']; $retValue['unseen'] = $sortResult['count'];
} }
catch (Exception $ee) catch (Exception $ee)