forked from extern/egroupware
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