diff options
Diffstat (limited to 'program/steps/mail/search.inc')
-rw-r--r-- | program/steps/mail/search.inc | 2 |
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'])) |