Merge pull request #265 from Taekus/master

Non-Secure Gravatar to Secure Gravatar
This commit is contained in:
fabrixxm 2015-05-18 16:56:07 +02:00
commit 1d2f8cd254
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View file

@ -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;