From: Sarah Hoffmann Date: Mon, 23 Jul 2018 18:37:31 +0000 (+0200) Subject: Merge pull request #1113 from mtmail/remove-empty-icon-configuration X-Git-Tag: v3.2.0~40 X-Git-Url: https://git.openstreetmap.org/nominatim.git/commitdiff_plain/12db7a9af2cdabf4a273c45542824d4a051501c9?hp=37bd4dfd83bf8c0b90af56353eb5fc2444d4d171 Merge pull request #1113 from mtmail/remove-empty-icon-configuration ClassTypes: treat empty string for -icon-same as null --- diff --git a/lib/template/address-geocodejson.php b/lib/template/address-geocodejson.php index 68fae7d1..032dcf43 100644 --- a/lib/template/address-geocodejson.php +++ b/lib/template/address-geocodejson.php @@ -76,6 +76,6 @@ if (empty($aPlace)) { 'licence' => 'ODbL', 'query' => $sQuery ), - 'features' => [$aFilteredPlaces] + 'features' => array($aFilteredPlaces) )); }