diff --git a/htdocs/user/class/user.class.php b/htdocs/user/class/user.class.php index 6e843f61e5a..144f9ee7891 100644 --- a/htdocs/user/class/user.class.php +++ b/htdocs/user/class/user.class.php @@ -2031,7 +2031,7 @@ class User extends CommonObject if ($withpictoimg) { $paddafterimage=''; - if (abs($withpictoimg) == 1) $paddafterimage='style="padding-right: 3px;"'; + if (abs($withpictoimg) == 1) $paddafterimage='style="margin-right: 3px;"'; if ($withpictoimg > 0) $picto='
'.img_object('', 'user', $paddafterimage.' '.($notooltip?'':'class="classfortooltip"')).'
'; else $picto='
'.Form::showphoto('userphoto', $this, 0, 0, 0, 'loginphoto', 'mini', 0, 1).'
'; $result.=$picto;