From 32aeaee3d3844b68cb12b505ef87f3e52a512acb Mon Sep 17 00:00:00 2001 From: thomasb Date: Tue, 11 Sep 2007 08:45:41 +0000 Subject: Fixed message search issues git-svn-id: https://svn.roundcube.net/trunk@791 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/steps/mail/search.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roundcubemail/program/steps/mail') diff --git a/roundcubemail/program/steps/mail/search.inc b/roundcubemail/program/steps/mail/search.inc index bef821b40..a3f6dda66 100644 --- a/roundcubemail/program/steps/mail/search.inc +++ b/roundcubemail/program/steps/mail/search.inc @@ -78,7 +78,7 @@ if (is_array($result) && $result[0] != '') { // Get the headers $result_h = $IMAP->list_header_set($mbox, $result, 1, $_SESSION['sort_col'], $_SESSION['sort_order']); - $count = count($result_h); + $count = $IMAP->messagecount(); // save search results in session if (!is_array($_SESSION['search'])) -- cgit v1.2.3