]> git.openstreetmap.org Git - nominatim.git/commitdiff
fixed typo
authorgemo1011 <moritzgeiger91@web.de>
Thu, 14 Jun 2018 13:06:47 +0000 (15:06 +0200)
committergemo1011 <moritzgeiger91@web.de>
Wed, 27 Jun 2018 12:55:12 +0000 (14:55 +0200)
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) {