decode_json() always create arrays instead of objects

This commit is contained in:
Sarah Hoffmann
2022-07-09 09:10:21 +02:00
parent 300612c5a8
commit 7cafec0750
9 changed files with 10 additions and 10 deletions

View File

@@ -53,7 +53,7 @@ foreach ($aSearchResults as $iResNum => $aPointDetails) {
}
if (isset($aPointDetails['asgeojson'])) {
$aPlace['geojson'] = json_decode($aPointDetails['asgeojson']);
$aPlace['geojson'] = json_decode($aPointDetails['asgeojson'], true);
}
if (isset($aPointDetails['assvg'])) {