X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f9db802c7b2f8ee9582cb2c9f7196d6abafdfced..bc8ce5729da0a7df4306ae5f785f68980a9bf47b:/app/controllers/geocoder_controller.rb diff --git a/app/controllers/geocoder_controller.rb b/app/controllers/geocoder_controller.rb index ee3c3479c..8ec0ab6b7 100644 --- a/app/controllers/geocoder_controller.rb +++ b/app/controllers/geocoder_controller.rb @@ -221,7 +221,7 @@ class GeocoderController < ApplicationController elsif latlon = query.match(%r{^([+-]?\d+(\.\d*)?)(?:\s+|\s*[,/]\s*)([+-]?\d+(\.\d*)?)$}) params.merge!(:lat => latlon[1].to_f, :lon => latlon[3].to_f).delete(:query) - params[:latlon_digits] = true unless params[:whereami] + params[:latlon_digits] = true end end