]> git.openstreetmap.org Git - nominatim.git/commitdiff
use place_id instead of parent_place_id for excluded place_ids in interpolation lines...
authormarkigail <markus.gail.94@gmail.com>
Thu, 19 May 2016 19:12:38 +0000 (21:12 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Sat, 4 Jun 2016 21:54:17 +0000 (23:54 +0200)
lib/Geocode.php

index e6e6e3eb7ec1208cd69a3ce264f3d2902f8db0c9..0c3c5f735c6bdbf43df1cabc49db8eaceb128d88 100644 (file)
 
                                                                        if (sizeof($this->aExcludePlaceIDs))
                                                                        {
-                                                                               $sSQL .= " and parent_place_id not in (".join(',', $this->aExcludePlaceIDs).")";
+                                                                               $sSQL .= " and place_id not in (".join(',', $this->aExcludePlaceIDs).")";
                                                                        }
                                                                        //$sSQL .= " limit $this->iLimit";
                                                                        if (CONST_Debug) var_dump($sSQL);