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:
Jean-Philippe Lang 2008-11-07 14:35:18 +00:00
parent 203cf6333e
commit 4581baa5c0
1 changed files with 67 additions and 67 deletions

View File

@ -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