diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-02-11 23:51:30 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-02-11 23:51:30 +0000 |
| commit | 9dcb71b01b01612510f11258405310a68f909022 (patch) | |
| tree | 0221897e403aec3d4ffa21d013d3407de2a220c8 /roundcubemail/program/include | |
| parent | 47ea970a28b88299f67ef13868eac64c2955291f (diff) | |
Fix send_modified_header() function
git-svn-id: https://svn.roundcube.net/trunk@1048 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include')
| -rw-r--r-- | roundcubemail/program/include/rcube_shared.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/program/include/rcube_shared.inc b/roundcubemail/program/include/rcube_shared.inc index 0c336ca4e..267914736 100644 --- a/roundcubemail/program/include/rcube_shared.inc +++ b/roundcubemail/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"); |
