Skip to content

Commit 12f99f7

Browse files
committed
Merge pull request thorsten#890 from plutzilla/master
Fix: Gravatar hash calculation does not match Gravatar API
2 parents 796a422 + a01f377 commit 12f99f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

phpmyfaq/inc/PMF/Services/Gravatar.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,6 @@ public function getUrl()
107107
*/
108108
public static function getHash($email)
109109
{
110-
return md5($email);
110+
return md5(strtolower(trim($email)));
111111
}
112112
}

0 commit comments

Comments
 (0)