Merge pull request #1513 from krmax44/gravatar-fix

Fix Gravatar when e-mail address contains uppercase characters
This commit is contained in:
RainLoop Team 2017-09-22 19:07:26 +03:00 committed by GitHub
commit 0ea3f24cd9

View file

@ -8918,7 +8918,7 @@ NewThemeLink IncludeCss LoadingDescriptionEsc TemplatesLink LangLink IncludeBack
$iCode = 0;
$sContentType = '';
$sGravatarUrl = 'http://gravatar.com/avatar/'.\md5($sEmail).'.jpg?s=80&d=404';
$sGravatarUrl = 'http://gravatar.com/avatar/'.\md5(strtolower($sEmail)).'.jpg?s=80&d=404';
$this->Logger()->Write('gravatar: '.$sGravatarUrl);