Skip to content

Commit

Permalink
Merge pull request #26 from grummbeer/fix-tabindex
Browse files Browse the repository at this point in the history
Contao 5. Fix undefined array key "tabindex"
  • Loading branch information
dmolineus authored Sep 23, 2024
2 parents 25dab3e + 086ffa9 commit 5ca766a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resources/contao/templates/nav_hofff.html5
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
title="<?php echo $item['pageTitle'] ? $item['pageTitle'] : $item['title']; ?>"
class="<?php if($item['isActive']) echo 'active '; if($item['class']) echo $item['class']; ?>"
<?php if($item['accesskey'] != ''): ?>accesskey="<?php echo $item['accesskey']; ?>"<?php endif; ?>
<?php if($item['tabindex']): ?>tabindex="<?php echo $item['tabindex']; ?>"<?php endif; ?>
<?php if($item['tabindex'] ?? null): ?>tabindex="<?php echo $item['tabindex']; ?>"<?php endif; ?>
<?php if($item['isActive']): ?>rel="nofollow"<?php endif; ?>
<?php echo $item['target']; ?>
><?php echo $item['link'];
Expand Down

0 comments on commit 5ca766a

Please sign in to comment.