Changeset 1296 in subversion for trunk/roundcubemail/program/steps/mail/show.inc
- Timestamp:
- Apr 13, 2008 5:15:39 AM (5 years ago)
- File:
-
- 1 edited
-
trunk/roundcubemail/program/steps/mail/show.inc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/steps/mail/show.inc
r1295 r1296 31 31 if (!empty($MESSAGE['headers']->charset)) 32 32 $IMAP->set_charset($MESSAGE['headers']->charset); 33 33 34 34 // go back to list if message not found (wrong UID) 35 35 if (!$MESSAGE['headers']) … … 54 54 55 55 // calculate Etag for this request 56 $etag = md5($MESSAGE['UID'].$mbox_name.session_id().intval($MESSAGE['headers']->mdn_sent).intval($MESSAGE[' headers']->seen).intval($MESSAGE['is_safe']).intval($PRINT_MODE));56 $etag = md5($MESSAGE['UID'].$mbox_name.session_id().intval($MESSAGE['headers']->mdn_sent).intval($MESSAGE['is_safe']).intval($PRINT_MODE)); 57 57 58 58 // allow caching, unless remote images are present … … 60 60 send_nocacheing_headers(); 61 61 else if (empty($CONFIG['devel_mode'])) 62 send_modified_header($_SESSION['login_time'], $etag );62 send_modified_header($_SESSION['login_time'], $etag, !$MESSAGE['headers']->seen); 63 63 64 64 $MESSAGE['subject'] = rcube_imap::decode_mime_string($MESSAGE['headers']->subject, $MESSAGE['headers']->charset);
Note: See TracChangeset
for help on using the changeset viewer.
