From 644f2fa92edfc21ac6086c3787e291a60d29af74 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Mon, 3 Apr 2023 16:24:20 +0200 Subject: keep sticklers happy --- it_url.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'it_url.class') 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; } /** -- cgit v1.2.3