mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-12 16:30:22 +01:00
Avoid JS error if account selection is turned off
This commit is contained in:
parent
a195c17105
commit
b15e3c8372
@ -270,7 +270,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