aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Darricau <tristan.darricau@sensiolabs.com>2016-03-25 11:10:06 +0100
committerTristan Darricau <tristan.darricau@sensiolabs.com>2016-03-25 11:10:06 +0100
commit53a9131db68d17de092fe2b6bf04b411226a1134 (patch)
tree9531fe9972e5fc7bb91041b80150fc0c311da8d1
parent3a23068d897d1298da53945dfeaf4aa890d38230 (diff)
parent826b3382759c2f186794bea7b3a31c2414146eb3 (diff)
downloadforums-53a9131db68d17de092fe2b6bf04b411226a1134.tar
forums-53a9131db68d17de092fe2b6bf04b411226a1134.tar.gz
forums-53a9131db68d17de092fe2b6bf04b411226a1134.tar.bz2
forums-53a9131db68d17de092fe2b6bf04b411226a1134.tar.xz
forums-53a9131db68d17de092fe2b6bf04b411226a1134.zip
Merge pull request #4244 from marc1706/ticket/14290
[ticket/14290] Correctly use modified since header * marc1706/ticket/14290: [ticket/14290] Correctly use modified since header
-rw-r--r--phpBB/includes/functions_download.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_download.php b/phpBB/includes/functions_download.php
index 328be93046..2c5cba2c0d 100644
--- a/phpBB/includes/functions_download.php
+++ b/phpBB/includes/functions_download.php
@@ -413,7 +413,7 @@ function set_modified_headers($stamp, $browser)
global $request;
// let's see if we have to send the file at all
- $last_load = $request->header('Modified-Since') ? strtotime(trim($request->header('Modified-Since'))) : false;
+ $last_load = $request->header('If-Modified-Since') ? strtotime(trim($request->header('If-Modified-Since'))) : false;
if (strpos(strtolower($browser), 'msie 6.0') === false && !phpbb_is_greater_ie_version($browser, 7))
{