X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f9db802c7b2f8ee9582cb2c9f7196d6abafdfced..d80fac7ad90bfd20d1ad66fba034c2a93e5713d2:/app/controllers/geocoder_controller.rb?ds=inline 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