From e7c9bc60ec48e5a7ac4cab27276926f70696ca80 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 25 Feb 2018 14:22:46 +0300 Subject: [PATCH] fix previous wrt if-modified-since being added to context options headers --- include/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/functions.php b/include/functions.php index 6a1296390..1319520c6 100755 --- a/include/functions.php +++ b/include/functions.php @@ -500,7 +500,7 @@ ); if (!$post_query && $last_modified) { - $context_options['http']['header'] = "If-Modified-Since: $last_modified\r\n"; + array_push($context_options['http']['header'], "If-Modified-Since: $last_modified"); } if (defined('_HTTP_PROXY')) {