Commit 3262895b authored by Mike Sheldon's avatar Mike Sheldon

E-mails should be in lowercase before being hashed for gravatar usage

parent 3b4977d1
......@@ -184,7 +184,7 @@ class User {
if (!empty($this->avatar_uri))
return $this->avatar_uri;
return 'http://www.gravatar.com/avatar/' . md5($this->email) . '?s=' . $size . '&d=monsterid';
return 'http://www.gravatar.com/avatar/' . md5(strtolower($this->email)) . '?s=' . $size . '&d=monsterid';
}
function getURL($component='profile') {
......
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