Skip to content

Commit

Permalink
Fixed Gravatar Hash
Browse files Browse the repository at this point in the history
  • Loading branch information
Gil Rutkowski committed Dec 1, 2013
1 parent 36a714b commit a678ec4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function fullName()
public function gravatar()
{
// Generate the Gravatar hash
$gravatar = md5(strtolower(trim($this->gravatar)));
$gravatar = md5(strtolower(trim($this->email)));

// Return the Gravatar url
return "//gravatar.com/avatar/{$gravatar}";
Expand Down

0 comments on commit a678ec4

Please sign in to comment.