We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c60586f + b455d12 commit fad226eCopy full SHA for fad226e
lib/redmine_gtt/hooks/view_layouts_base_html_head_hook.rb
@@ -17,7 +17,7 @@ def view_layouts_base_body_bottom(context={})
17
geocoder_options = Setting.plugin_redmine_gtt['default_geocoder_options']
18
if geocoder_options.present?
19
begin
20
- geocoder = JSON.parse()
+ geocoder = JSON.parse(geocoder_options)
21
rescue JSON::ParserError => exception
22
Rails.logger.warn "Failed to parse setting's 'geocoder_options' as JSON: #{exception}\nUse default '{}' instead."
23
end
0 commit comments