summaryrefslogtreecommitdiff
path: root/it_url.class
diff options
context:
space:
mode:
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 1ae0233..6681520 100644
--- a/it_url.class
+++ b/it_url.class
@@ -720,7 +720,7 @@ static function get_cache_contents($p)
$result = it::file_get_contents($fn);
if ($p['assoc'])
{
- $response = it::match('^\{', $result) ? it::json_decode($result, 'assoc' => true) : unserialize($result); # FIXME 2023-05 UM remove legacy support
+ $response = it::match('^\{', $result) ? it::json_decode($result, ['assoc' => true]) : unserialize($result); # FIXME 2023-05 UM remove legacy support
$response['data'] = self::_postprocess($response['data'], $p);
$result = $response + ['cachemiss' => $cachemiss];
}