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.
1 parent c60586f commit b455d12Copy full SHA for b455d12
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