Fix missing photo on user link

This commit is contained in:
Laurent Destailleur
2023-01-15 11:13:53 +01:00
parent 6a30104beb
commit 132fe6c19d
2 changed files with 7 additions and 10 deletions

View File

@@ -2137,10 +2137,7 @@ class Form
$out .= ' selected';
}
$out .= ' data-html="';
$outhtml = '';
// if (!empty($obj->photo)) {
$outhtml .= $userstatic->getNomUrl(-3, '', 0, 1, 24, 1, 'login', '', 1).' ';
// }
$outhtml = $userstatic->getNomUrl(-3, '', 0, 1, 24, 1, 'login', '', 1).' ';
if ($showstatus >= 0 && $obj->status == 0) {
$outhtml .= '<strike class="opacitymediumxxx">';
}