summaryrefslogtreecommitdiff
path: root/program/steps/mail
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2007-09-11 08:45:41 +0000
committerthomascube <thomas@roundcube.net>2007-09-11 08:45:41 +0000
commit4845a1ea952f4affda3546abd7dfa02d24fc818c (patch)
tree04ab216dfb7a1a1436b0835aa873f1c106d6105e /program/steps/mail
parentd7d66380f0f9f3a0a3dba3a7e298b1d094105ac0 (diff)
Fixed message search issues
Diffstat (limited to 'program/steps/mail')
-rw-r--r--program/steps/mail/search.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/search.inc b/program/steps/mail/search.inc
index bef821b40..a3f6dda66 100644
--- a/program/steps/mail/search.inc
+++ b/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']))