fix empty labels in application selection in ACL dialog

This commit is contained in:
Ralf Becker 2021-10-08 13:23:55 +02:00
parent 19b4cf034f
commit c8547466a4

View File

@ -273,7 +273,7 @@ class admin_acl
{
$rows['sel_options']['filter2'][] = array(
'value' => $appname,
'label' => lang(Api\Link::get_registry($appname, 'entries')) ?? lang($appname)
'label' => lang(Api\Link::get_registry($appname, 'entries') ?: $appname)
);
}
usort($rows['sel_options']['filter2'], function($a,$b) {