Commit 4581baa5 authored by Jean-Philippe Lang's avatar Jean-Philippe Lang

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
parent 203cf633
......@@ -563,7 +563,7 @@ module ApplicationHelper
def gravatar_for_mail(mail, options = { })
if Setting.gravatar_enabled?
return gravatar(mail, options) rescue nil
return gravatar(mail.to_s.downcase, options) rescue nil
end
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment