]> git.wh0rd.org - tt-rss.git/commitdiff
fix previous wrt if-modified-since being added to context options headers
authorAndrew Dolgov <noreply@fakecake.org>
Sun, 25 Feb 2018 11:22:46 +0000 (14:22 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Sun, 25 Feb 2018 11:22:46 +0000 (14:22 +0300)
include/functions.php

index 6a12963902d80566e882beff125e4ca9d65e0330..1319520c675678c3b12baac50b64e8575c3c87ca 100755 (executable)
                                  );
 
                        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')) {