Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Commit

Permalink
Remove protocol
Browse files Browse the repository at this point in the history
Remove the protocol so it'll work with http and https
  • Loading branch information
davidyell authored Feb 6, 2017
1 parent 00509bc commit d581378
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/View/Helper/GravatarHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ class GravatarHelper extends Helper
public function avatar($email, $size = 50, $class = 'user-avatar')
{
$hash = md5(strtolower(trim($email)));
return "<img class='$class' src='http://www.gravatar.com/avatar/$hash?s=$size&d=mm'>";
return "<img class='$class' src='//www.gravatar.com/avatar/$hash?s=$size&d=mm'>";
}
}

0 comments on commit d581378

Please sign in to comment.