aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2016-03-24 18:09:51 +0100
committerMarc Alexander <admin@m-a-styles.de>2016-03-24 18:09:51 +0100
commit826b3382759c2f186794bea7b3a31c2414146eb3 (patch)
tree9531fe9972e5fc7bb91041b80150fc0c311da8d1 /phpBB/includes/functions_download.php
parentMerge pull request #4242 from marc1706/ticket/14136 (diff)
downloadphpbb-826b3382759c2f186794bea7b3a31c2414146eb3.tar.gz
phpbb-826b3382759c2f186794bea7b3a31c2414146eb3.tar.bz2
phpbb-826b3382759c2f186794bea7b3a31c2414146eb3.zip
[ticket/14290] Correctly use modified since header
PHPBB3-14290
Diffstat (limited to 'phpBB/includes/functions_download.php')
-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))
{