mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
there is currently no avatar for groups, no need to ask server about it
This commit is contained in:
parent
9ab4c69050
commit
84d65bcf3b
@ -441,11 +441,12 @@ class Accounts
|
|||||||
$accounts[] = [
|
$accounts[] = [
|
||||||
'value' => $account['account_id'],
|
'value' => $account['account_id'],
|
||||||
'label' => $displayName,
|
'label' => $displayName,
|
||||||
|
]+($account['account_id'] <= 0 ? [] : [ // there is currently no avatar for groups, no need to ask server about it
|
||||||
'icon' => Framework::link('/api/avatar.php', [
|
'icon' => Framework::link('/api/avatar.php', [
|
||||||
'account_id' => $account['account_id'],
|
'account_id' => $account['account_id'],
|
||||||
'modified' => $account['account_modified'],
|
'modified' => $account['account_modified'],
|
||||||
]),
|
]),
|
||||||
];
|
]);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user