diff options
author | thomascube <thomas@roundcube.net> | 2008-02-11 23:51:30 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2008-02-11 23:51:30 +0000 |
commit | 6f9926357c8fdd71ae3ede4c3811198974c2df43 (patch) | |
tree | f26bb105f0622ec8ec7ff17b0f120d3c65c89bb2 /program/include | |
parent | 19881691bdef7beba3b9ed41049dab9b6f856f93 (diff) |
Fix send_modified_header() function
Diffstat (limited to 'program/include')
-rw-r--r-- | program/include/rcube_shared.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/include/rcube_shared.inc b/program/include/rcube_shared.inc index 0c336ca4e..267914736 100644 --- a/program/include/rcube_shared.inc +++ b/program/include/rcube_shared.inc @@ -246,8 +246,8 @@ function send_modified_header($mdate, $etag=null) $iscached = true; $etag = $etag ? "\"$etag\"" : null; - if ($etag && $_SERVER['HTTP_IF_NONE_MATCH'] == $etag) - $iscached = true; + if ($etag) + $iscached = ($_SERVER['HTTP_IF_NONE_MATCH'] == $etag); if ($iscached) header("HTTP/1.x 304 Not Modified"); |