From 29618305c0f9bda8461b28a66c20ab998dbae2d8 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Tue, 5 May 2015 08:42:03 +0000 Subject: [PATCH] Fix error "can not pass parameter 3 by reference" --- emailadmin/inc/class.emailadmin_imapbase.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emailadmin/inc/class.emailadmin_imapbase.inc.php b/emailadmin/inc/class.emailadmin_imapbase.inc.php index 086f83fff5..4da1308e19 100644 --- a/emailadmin/inc/class.emailadmin_imapbase.inc.php +++ b/emailadmin/inc/class.emailadmin_imapbase.inc.php @@ -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 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']; } catch (Exception $ee)