summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian A. Weber2019-01-03 20:17:24 +0100
committerChristian A. Weber2019-01-03 20:17:24 +0100
commit494896091ecb4d8422848636347cf00f5e711d34 (patch)
tree34f36109ff5d4432351c4557421287e333aeeb10
parentc40446509e5e53530ac45847e5088f09d1804ab0 (diff)
downloaditools-494896091ecb4d8422848636347cf00f5e711d34.tar.gz
itools-494896091ecb4d8422848636347cf00f5e711d34.tar.bz2
itools-494896091ecb4d8422848636347cf00f5e711d34.zip
don't force it_error => false in get_cache()
-rw-r--r--it_url.class2
1 files changed, 1 insertions, 1 deletions
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'])