Skip to content

Commit 2f116dd

Browse files
committed
Fix accessing (possibly) undefined variable
1 parent a73bb9f commit 2f116dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contao/templates/mod_navigation_bs.html.twig

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
.addClass(['navbar', navbarClass, 'navbar-expand-'~breakpoint])
77
.addClass(class)
88
.addStyle(style)
9-
.set('aria-label', ariaLabel)
9+
.set('aria-label', ariaLabel|default)
1010
%}
1111
<!-- indexer::stop -->
1212
<a href="{{ request }}#{{ skipId }}" class="invisible">{{ skipNavigation }}</a>

0 commit comments

Comments
 (0)