]> git.openstreetmap.org Git - nominatim.git/commitdiff
mising string concatenation (.)
authorBrian Quinion <openstreetmap@brian.quinion.co.uk>
Tue, 6 Nov 2012 20:04:31 +0000 (20:04 +0000)
committerBrian Quinion <openstreetmap@brian.quinion.co.uk>
Tue, 6 Nov 2012 20:04:31 +0000 (20:04 +0000)
website/search.php

index ee7979dc4c54b7d08a8e5ecfb2cedd90c25d679f..541d5ec450e9678622fd171ba0d4ad51fb03474f 100755 (executable)
                                                                {
                                                                        // If they were searching for a named class (i.e. 'Kings Head pub') then we might have an extra match
                                                                        $sSQL = "select place_id from placex where place_id in ($sPlaceIDs) and class='".$aSearch['sClass']."' and type='".$aSearch['sType']."'";
-                                                                       $sSQL = " and linked_place_id is null";
+                                                                       $sSQL .= " and linked_place_id is null";
                                                                        if ($sCountryCodesSQL) $sSQL .= " and country_code in ($sCountryCodesSQL)";                                                             
                                                                        $sSQL .= " order by rank_search asc limit $iLimit";
                                                                        if (CONST_Debug) var_dump($sSQL);