Skip to content

Commit b455d12

Browse files
committed
Fixed missing geocoder_options argument
Signed-off-by: Ko Nagase <[email protected]>
1 parent c60586f commit b455d12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/redmine_gtt/hooks/view_layouts_base_html_head_hook.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def view_layouts_base_body_bottom(context={})
1717
geocoder_options = Setting.plugin_redmine_gtt['default_geocoder_options']
1818
if geocoder_options.present?
1919
begin
20-
geocoder = JSON.parse()
20+
geocoder = JSON.parse(geocoder_options)
2121
rescue JSON::ParserError => exception
2222
Rails.logger.warn "Failed to parse setting's 'geocoder_options' as JSON: #{exception}\nUse default '{}' instead."
2323
end

0 commit comments

Comments
 (0)