diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index 40d9c7ced83a6c9f950a5aa41947f95bf6bd949e..eeac381cff8165e5c4a052336099e2bfff093110 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -4514,7 +4514,7 @@ class Form { global $dolibarr_main_url_root; $ret.='<!-- Put link to gravatar -->'; - $ret.='<img alt="Photo found on Gravatar" title="Photo Gravatar.com - email '.$email.'" border="0" width="'.$width.'" src="http://www.gravatar.com/avatar/'.dol_hash($email,3).'?s='.$width.'&d='.urlencode(dol_buildpath('/theme/common/nophoto.jpg',2)).'">'; // gravatar need md5 hash + $ret.='<img alt="Photo found on Gravatar" title="Photo Gravatar.com - email '.$email.'" border="0" width="'.$width.'" src="https://www.gravatar.com/avatar/'.dol_hash($email,3).'?s='.$width.'&d='.urlencode(dol_buildpath('/theme/common/nophoto.jpg',2)).'">'; // gravatar need md5 hash } else {