From: Andrew Dolgov Date: Sun, 25 Feb 2018 11:22:46 +0000 (+0300) Subject: fix previous wrt if-modified-since being added to context options headers X-Git-Tag: 18.8~61 X-Git-Url: https://git.wh0rd.org/?p=tt-rss.git;a=commitdiff_plain;h=e7c9bc60ec48e5a7ac4cab27276926f70696ca80 fix previous wrt if-modified-since being added to context options headers --- diff --git a/include/functions.php b/include/functions.php index 6a129639..1319520c 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')) {