From e1997befe96c36b2f10442fffe34c92f6d5d9df7 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 8 Oct 2021 13:23:55 +0200 Subject: [PATCH] fix empty labels in application selection in ACL dialog --- admin/inc/class.admin_acl.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/inc/class.admin_acl.inc.php b/admin/inc/class.admin_acl.inc.php index ba1652f06f..b66175563b 100644 --- a/admin/inc/class.admin_acl.inc.php +++ b/admin/inc/class.admin_acl.inc.php @@ -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) {