From 494896091ecb4d8422848636347cf00f5e711d34 Mon Sep 17 00:00:00 2001 From: Christian A. Weber Date: Thu, 3 Jan 2019 20:17:24 +0100 Subject: don't force it_error => false in get_cache() --- it_url.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/it_url.class b/it_url.class index 02ac840..dbc1083 100644 --- a/it_url.class +++ b/it_url.class @@ -466,7 +466,7 @@ function get_cache($p = array()) EDC('getcache', "new", $filemtime, $p['url'], $path); $url = new it_url; - if ($result = $url->get(array('it_error' => false) + $p + array('filemtime' => EDC('nocache') ? null : $filemtime))) # => true means not modified (no new data fetched) + if ($result = $url->get($p + array('filemtime' => EDC('nocache') ? null : $filemtime))) # => true means not modified (no new data fetched) { $newfile = it_url::_atomicwrite($path, $result); if ($p['returnheaders']) -- cgit v1.2.3