';
diff --git a/htdocs/user/class/user.class.php b/htdocs/user/class/user.class.php
index d4358bb2b0a..f16af2ee72d 100644
--- a/htdocs/user/class/user.class.php
+++ b/htdocs/user/class/user.class.php
@@ -1886,7 +1886,7 @@ class User extends CommonObject
if (! empty($this->photo))
{
$label.= '';
- $label.= Form::showphoto('userphoto', $this, 80, 0, 0, 'photowithmargin photologintooltip', 'small');
+ $label.= Form::showphoto('userphoto', $this, 80, 0, 0, 'photowithmargin photologintooltip', 'small', 0, 1);
$label.= '
';
}
@@ -1933,7 +1933,7 @@ class User extends CommonObject
$paddafterimage='';
if (abs($withpictoimg) == 1) $paddafterimage='style="padding-right: 3px;"';
if ($withpictoimg > 0) $picto=''.img_object('', 'user', $paddafterimage.' '.($notooltip?'':'class="classfortooltip"')).'
';
- else $picto=''.Form::showphoto('userphoto', $this, 0, 0, 0, 'loginphoto', 0, 0, 'mini').'
';
+ else $picto=''.Form::showphoto('userphoto', $this, 0, 0, 0, 'loginphoto', 'mini', 0, 1).'
';
$result.=$picto;
}
if (abs($withpictoimg) != 2)