forked from friendica/friendica-addons
Merge pull request #265 from Taekus/master
Non-Secure Gravatar to Secure Gravatar
This commit is contained in:
commit
1d2f8cd254
2 changed files with 1 additions and 1 deletions
BIN
gravatar.tgz
BIN
gravatar.tgz
Binary file not shown.
|
@ -42,7 +42,7 @@ function gravatar_lookup($a, &$b) {
|
|||
|
||||
$hash = md5(trim(strtolower($b['email'])));
|
||||
|
||||
$url = 'http://www.gravatar.com/avatar/' .$hash .'.jpg';
|
||||
$url = 'https://secure.gravatar.com/avatar/' .$hash .'.jpg';
|
||||
$url .= '?s=' .$b['size'] .'&r=' .$rating;
|
||||
if ($default_avatar != "gravatar")
|
||||
$url .= '&d=' .$default_avatar;
|
||||
|
|
Loading…
Reference in a new issue