mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
Avoid JS error if account selection is turned off
This commit is contained in:
parent
0d75e05369
commit
ac3656d85d
@ -326,7 +326,7 @@ class calendar_owner_etemplate_widget extends Etemplate\Widget\Taglist
|
||||
}
|
||||
else
|
||||
{
|
||||
$label = Link::title('api-accounts',$id);
|
||||
$label = Link::title('api-accounts',$id) ?: Api\Accounts::username($id);
|
||||
}
|
||||
return $label;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user