]> git.openstreetmap.org Git - nominatim.git/commitdiff
fix merge error
authorSarah Hoffmann <lonvia@denofr.de>
Fri, 30 Sep 2016 19:53:30 +0000 (21:53 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Fri, 30 Sep 2016 20:44:23 +0000 (22:44 +0200)
lib/Geocode.php
website/reverse.php

index b6458725bdab22fd3ccd42e0dac28d67533c43f4..692f4093c2fd259ae701dc8da67982876255fd74 100644 (file)
@@ -1160,6 +1160,7 @@ class Geocode
                                 && $aWordFrequencyScores[$aSearch['aName'][reset($aSearch['aName'])]] < CONST_Search_NameOnlySearchFrequencyThreshold
                             ) {
                                 //$aTerms[] = "array_cat(nameaddress_vector,ARRAY[]::integer[]) @> ARRAY[".join(array_merge($aSearch['aAddress'], $aSearch['aAddressNonSearch']), ",")."]";
+                                $aTerms[] = "array_cat(nameaddress_vector,ARRAY[]::integer[]) @> ARRAY[".join($aSearch['aAddress'],",")."]";
                             } else {
                                 $aTerms[] = "nameaddress_vector @> ARRAY[".join($aSearch['aAddress'], ",")."]";
                                 /*if (sizeof($aSearch['aAddressNonSearch'])) {
index 9c9b99fbdcd479e752b24c1770b4284c400cec6f..56b80a5c0b001a7585f6111032574fe2d52b9472 100755 (executable)
@@ -101,4 +101,3 @@ if ($sOutputFormat=='html') {
     $sTileAttribution = CONST_Map_Tile_Attribution;
 }
 include(CONST_BasePath.'/lib/template/address-'.$sOutputFormat.'.php');
->>>>>>> upstream/master