summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2007-09-11 08:45:41 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2007-09-11 08:45:41 +0000
commit32aeaee3d3844b68cb12b505ef87f3e52a512acb (patch)
tree43772baff98939b2790260d995532a8da1258a6b /roundcubemail/program/steps
parent613a15f8cbeb5e208af89a941d06958347415f9e (diff)
Fixed message search issues
git-svn-id: https://svn.roundcube.net/trunk@791 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps')
-rw-r--r--roundcubemail/program/steps/mail/search.inc2
1 files changed, 1 insertions, 1 deletions
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']))