summaryrefslogtreecommitdiff
path: root/it_url.class
diff options
context:
space:
mode:
authorUrban Müller2023-04-03 16:24:20 +0200
committerUrban Müller2023-04-03 16:24:20 +0200
commit644f2fa92edfc21ac6086c3787e291a60d29af74 (patch)
tree4ab9ac2e6f60826225711f974cb22e6322d04b2a /it_url.class
parentbe4f996e7a3b51d39d6526855af47e01cd8dc293 (diff)
downloaditools-644f2fa92edfc21ac6086c3787e291a60d29af74.tar.gz
itools-644f2fa92edfc21ac6086c3787e291a60d29af74.tar.bz2
itools-644f2fa92edfc21ac6086c3787e291a60d29af74.zip
keep sticklers happy
Diffstat (limited to 'it_url.class')
-rw-r--r--it_url.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_url.class b/it_url.class
index 6681520..014610c 100644
--- a/it_url.class
+++ b/it_url.class
@@ -703,7 +703,7 @@ static function get_cache($p = array())
it::log('debug', 'getcachelog', $p['id'], $p['url'], !$isnewfile ? "" : "fetched=" . mb_substr(is_string($data) ? $data : "(assoc)", 0, 400));
### EDC('getcache', $success, $path); # too verbose
- return $success ? ($p['returnheaders'] || $p['returncachemiss'] ? [$path, $headers, $isnewfile] : $path) : false;
+ return $success ? ($p['returnheaders'] || $p['returncachemiss'] ? [$path, $headers, (bool)$isnewfile] : $path) : false;
}
/**