Project

General

Profile

Defect #28204 » size_option_for_avatar_should_accept_integer_value.diff

fix for this issue (no need to apply this fix to the trunk) - Go MAEDA, 2018-02-18 00:36

View differences:

app/helpers/application_helper.rb (working copy)
if email.present?
gravatar(email.to_s.downcase, options) rescue nil
else
options[:size] = options[:size].to_s
image_tag 'anonymous.png',
GravatarHelper::DEFAULT_OPTIONS
.except(:default, :rating, :ssl).merge(options)
(3-3/3)