Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 895df9f

Browse filesBrowse files
committed
Display the roles of the logged-in user in the Web Debug Toolbar -- bugfix
Fixes #42763
1 parent 64cbfd2 commit 895df9f
Copy full SHA for 895df9f

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎src/Symfony/Bundle/SecurityBundle/Resources/views/Collector/security.html.twig

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/SecurityBundle/Resources/views/Collector/security.html.twig
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.