From f21ebb47c7ed6b62f9e8400c93c727be19c51367 Mon Sep 17 00:00:00 2001 From: alecpl Date: Sun, 13 Apr 2008 08:17:20 +0000 Subject: - added seen flag value to etag, so it allows to mark again remarked messages --- program/steps/mail/show.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/steps/mail/show.inc b/program/steps/mail/show.inc index cc167009f..1fe4aa9b4 100644 --- a/program/steps/mail/show.inc +++ b/program/steps/mail/show.inc @@ -53,7 +53,7 @@ if ($_GET['_uid']) $mbox_name = $IMAP->get_mailbox_name(); // calculate Etag for this request - $etag = md5($MESSAGE['UID'].$mbox_name.session_id().intval($MESSAGE['headers']->mdn_sent).intval($MESSAGE['is_safe']).intval($PRINT_MODE)); + $etag = md5($MESSAGE['UID'].$mbox_name.session_id().intval($MESSAGE['headers']->mdn_sent).intval($MESSAGE['headers']->seen).intval($MESSAGE['is_safe']).intval($PRINT_MODE)); // allow caching, unless remote images are present if ((bool)$MESSAGE['is_safe']) -- cgit v1.2.3