summaryrefslogtreecommitdiff
path: root/it_url.class
diff options
context:
space:
mode:
authorUrban Müller2023-03-27 15:10:41 +0200
committerUrban Müller2023-03-27 15:10:41 +0200
commitdbfb068d483284721ec6672da55de42b45d9e406 (patch)
tree9fefd560acd3a2c785b768e3a151e77442c5b27f /it_url.class
parentd9b90715c7b8cfa9c876e2fc161e67f34e2c5427 (diff)
downloaditools-dbfb068d483284721ec6672da55de42b45d9e406.tar.gz
itools-dbfb068d483284721ec6672da55de42b45d9e406.tar.bz2
itools-dbfb068d483284721ec6672da55de42b45d9e406.zip
use standard syntax
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];
}