Email address should be lowercased for gravatar (#2145).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@1988 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
203cf6333e
commit
4581baa5c0
|
@ -563,7 +563,7 @@ module ApplicationHelper
|
||||||
|
|
||||||
def gravatar_for_mail(mail, options = { })
|
def gravatar_for_mail(mail, options = { })
|
||||||
if Setting.gravatar_enabled?
|
if Setting.gravatar_enabled?
|
||||||
return gravatar(mail, options) rescue nil
|
return gravatar(mail.to_s.downcase, options) rescue nil
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue