alecpl
2008-04-13 f21ebb47c7ed6b62f9e8400c93c727be19c51367
- added seen flag value to etag, so it allows to mark again remarked messages


1 files modified
2 ■■■ changed files
program/steps/mail/show.inc 2 ●●● patch | view | raw | blame | history
program/steps/mail/show.inc
@@ -53,7 +53,7 @@
  $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'])