diff options
author | Urban Müller | 2023-03-27 15:10:41 +0200 |
---|---|---|
committer | Urban Müller | 2023-03-27 15:10:41 +0200 |
commit | dbfb068d483284721ec6672da55de42b45d9e406 (patch) | |
tree | 9fefd560acd3a2c785b768e3a151e77442c5b27f /it_url.class | |
parent | d9b90715c7b8cfa9c876e2fc161e67f34e2c5427 (diff) | |
download | itools-dbfb068d483284721ec6672da55de42b45d9e406.tar.gz itools-dbfb068d483284721ec6672da55de42b45d9e406.tar.bz2 itools-dbfb068d483284721ec6672da55de42b45d9e406.zip |
use standard syntax
Diffstat (limited to 'it_url.class')
-rw-r--r-- | it_url.class | 2 |
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]; } |