From dbfb068d483284721ec6672da55de42b45d9e406 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Mon, 27 Mar 2023 15:10:41 +0200 Subject: use standard syntax --- 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 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]; } -- cgit v1.2.3