]> git.wh0rd.org - tt-rss.git/blobdiff - include/functions.php
updating: do not use cache timestamp if it is unusable for current feed;
[tt-rss.git] / include / functions.php
index 10a3504f2abcfc7b6f55577cf17cd4a155ce096d..72b20cd062b939042639a9cafb927cc901893e60 100644 (file)
                                $ch = curl_init($url);
                        }
 
-                       if ($timestamp) {
+                       if ($timestamp && !$post_query) {
                                curl_setopt($ch, CURLOPT_HTTPHEADER,
                                        array("If-Modified-Since: ".gmdate('D, d M Y H:i:s \G\M\T', $timestamp)));
                        }