]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/PlaceLookup.php
fixed typo
[nominatim.git] / lib / PlaceLookup.php
index 7620ac0d09b599cb39a3de6dc1ecf655527e9bc5..ade073e5ac9f52a65972e9bed86ca225c1d8fbbb 100644 (file)
@@ -558,7 +558,7 @@ class PlaceLookup
             if ($fLonReverse != null && $fLatReverse != null) {
                 $sFrom = ' from (SELECT * , ST_ClosestPoint(geometry, ST_SetSRID(ST_Point('.$fLatReverse.','.$fLonReverse.'),4326)) AS closest_point';
             } else {
-                $sFrom = $sFrom = ' from placex where place_id = '.$iPlaceID;
+                $sFrom = ' from placex where place_id = '.$iPlaceID;
             }
             $sFrom .= ' from placex where place_id = '.$iPlaceID.') as plx';
             if ($this->fPolygonSimplificationThreshold > 0) {