]> git.openstreetmap.org Git - nominatim.git/commitdiff
Merge pull request #1113 from mtmail/remove-empty-icon-configuration
authorSarah Hoffmann <lonvia@denofr.de>
Mon, 23 Jul 2018 18:37:31 +0000 (20:37 +0200)
committerGitHub <noreply@github.com>
Mon, 23 Jul 2018 18:37:31 +0000 (20:37 +0200)
ClassTypes: treat empty string for -icon-same as null

lib/template/address-geocodejson.php

index 68fae7d1605dcde0b883be5e806dec791d662291..032dcf4347a1046eb684a517af6cebb980aef176 100644 (file)
@@ -76,6 +76,6 @@ if (empty($aPlace)) {
                                            'licence' => 'ODbL',
                                            'query' => $sQuery
                                           ),
-                           'features' => [$aFilteredPlaces]
+                           'features' => array($aFilteredPlaces)
                           ));
 }