Skip to content

Commit 0197028

Browse files
committed
Display the roles of the logged-in user in the Web Debug Toolbar -- bugfix
Fixes #42763
1 parent 08f0547 commit 0197028

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Resources/views/Collector/security.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
<span>
4747
{% set remainingRoles = collector.roles|slice(1) %}
4848
{{ collector.roles|first }}
49-
{% if remainingRoles|length > 1 %}
49+
{% if remainingRoles is not empty %}
5050
+
5151
<abbr title="{{ remainingRoles|join(', ') }}">
5252
{{ remainingRoles|length }} more

0 commit comments

Comments
 (0)