From 59c027ba5fa1042ffd0f62bec97a8127002f2b79 Mon Sep 17 00:00:00 2001 From: alecpl Date: Thu, 11 Jun 2009 13:58:11 +0000 Subject: - Fix message Etag generation for counter issues (#1485623) --- program/steps/mail/show.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'program/steps/mail') diff --git a/program/steps/mail/show.inc b/program/steps/mail/show.inc index 6ab5ba86a..39d2e1a6c 100644 --- a/program/steps/mail/show.inc +++ b/program/steps/mail/show.inc @@ -50,7 +50,10 @@ if ($_GET['_uid']) { .intval($MESSAGE->headers->mdn_sent) .intval($MESSAGE->is_safe) .(!empty($MESSAGE->attachments) ? intval($CONFIG['inline_images']) : '') - .intval($PRINT_MODE)); + .intval($PRINT_MODE) + .$_SESSION['sort_col'].$_SESSION['sort_order'] + .$IMAP->messagecount($mbox_name, 'ALL', true) + ); // allow caching, unless remote images are present if ((bool)$MESSAGE->is_safe) -- cgit v1.2.3