Revert accidentally removed condition on status

This commit is contained in:
Hadi Nategh 2022-09-07 12:06:38 +02:00
parent e0b98b7c4c
commit a35b7e578b

View File

@ -641,7 +641,7 @@ abstract class Framework extends Framework\Extra
return '<et2-avatar shape="squared" title="'.Accounts::format_username().'" src="'.Egw::link('/api/avatar.php', array(
'account_id' => $GLOBALS['egw_info']['user']['account_id'],
)).'"></et2-avatar>'.(empty($stat) ?
)).'"></et2-avatar>'.(!empty($stat) ?
'<span class="fw_avatar_stat '.$stat['class'].'" title="'.$stat['title'].'">'.$stat['body'].'</span>' : '');
}