Skip to content

Commit

Permalink
Fixing default gravatar image.
Browse files Browse the repository at this point in the history
  • Loading branch information
jwage committed May 13, 2010
1 parent a44b474 commit ccf8192
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/frontend/modules/blog/lib/helper/BlogHelper.php
Expand Up @@ -2,7 +2,7 @@

function get_gravatar($email, $options = array(), $size = 40)
{
$default = "http://www.somewhere.com/homestar.jpg";
$default = "http://www.doctrine-project.org/uploads/assets/no_image.png";
$url = 'http://www.gravatar.com/avatar.php?gravatar_id='.md5(strtolower($email)).'&default='.urlencode($default).'&size='.$size;
return image_tag($url, $options);
}
Expand Down

0 comments on commit ccf8192

Please sign in to comment.