Fix: Bad url in gravatar module

This commit is contained in:
Laurent Destailleur 2009-07-22 23:55:09 +00:00
parent 41b1f422b2
commit 8a0f1f0272

View File

@ -2815,7 +2815,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.'" width="'.$width.'" src="http://www.gravatar.com/avatar/'.md5($email).'?s='.$width.'&d='.urlencode($dolibarr_main_url_root.DOL_URL_ROOT.'/theme/common/nophoto.jpg').'">';
$ret.='<img alt="Photo found on Gravatar" title="Photo Gravatar.com - email '.$email.'" width="'.$width.'" src="http://www.gravatar.com/avatar/'.md5($email).'?s='.$width.'&d='.urlencode($dolibarr_main_url_root.'/theme/common/nophoto.jpg').'">';
}
else
{