]> git.openstreetmap.org Git - nominatim.git/commitdiff
remove hack for fixing adminitrative typo
authorSarah Hoffmann <lonvia@denofr.de>
Mon, 26 Jan 2015 21:33:56 +0000 (22:33 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Mon, 26 Jan 2015 21:33:56 +0000 (22:33 +0100)
lib/Geocode.php

index 11e47d9a4d7263aa3ba6456b300f134556a26075..6632cefb841dbbc39c3693256687ceca0aa88ecb 100644 (file)
                        $bFirst = true;
                        foreach($aToFilter as $iResNum => $aResult)
                        {
-                               if ($aResult['type'] == 'adminitrative') $aResult['type'] = 'administrative';
                                $this->aExcludePlaceIDs[$aResult['place_id']] = $aResult['place_id'];
                                if ($bFirst)
                                {