aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/download
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/download')
-rw-r--r--phpBB/download/file.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/phpBB/download/file.php b/phpBB/download/file.php
index 9bf16ce0dc..552c43335e 100644
--- a/phpBB/download/file.php
+++ b/phpBB/download/file.php
@@ -67,8 +67,7 @@ if (isset($_GET['avatar']))
{
if ($last_load !== false && $last_load <= $stamp)
{
- header('Not Modified', true, 304);
- if (@php_sapi_name() == 'CGI')
+ if (@php_sapi_name() === 'CGI')
{
header('Status: 304 Not Modified', true, 304);
}