mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-29 01:59:39 +01:00
Revert accidentally removed condition on status
This commit is contained in:
parent
e0b98b7c4c
commit
a35b7e578b
@ -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(
|
return '<et2-avatar shape="squared" title="'.Accounts::format_username().'" src="'.Egw::link('/api/avatar.php', array(
|
||||||
'account_id' => $GLOBALS['egw_info']['user']['account_id'],
|
'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>' : '');
|
'<span class="fw_avatar_stat '.$stat['class'].'" title="'.$stat['title'].'">'.$stat['body'].'</span>' : '');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user