]> git.openstreetmap.org Git - nominatim.git/commitdiff
fix variable names
authorSarah Hoffmann <lonvia@denofr.de>
Fri, 6 Oct 2017 20:01:52 +0000 (22:01 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Fri, 6 Oct 2017 20:01:52 +0000 (22:01 +0200)
lib/Geocode.php

index f282e2656f2ebafeca651ed32307a0ee4534d451..fbb1b4e03f78df853a1e98c95915dd5e1512cb72 100644 (file)
@@ -859,7 +859,7 @@ class Geocode
                                         }
                                     }
 
-                                    if ((!$aCurrentSearch['sPostcode'] && !$aSearch['aAddress'] && !$aSearch['aAddressNonSearch'])
+                                    if ((!$aCurrentSearch['sPostcode'] && !$aCurrentSearch['aAddress'] && !$aCurrentSearch['aAddressNonSearch'])
                                         && (!sizeof($aCurrentSearch['aName']) || $aCurrentSearch['iNamePhrase'] == $iPhrase)) {
                                         $aSearch = $aCurrentSearch;
                                         $aSearch['iSearchRank'] += 1;