Skip to content

Commit

Permalink
fixes #374 not all menu items have a title (PHP 8 issue)
Browse files Browse the repository at this point in the history
  • Loading branch information
plegall committed Mar 14, 2024
1 parent 012aeb6 commit 204c9c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template/menubar_menu.tpl
Expand Up @@ -10,7 +10,7 @@
{/if}
{foreach from=$blocks.mbMenu->data item=link}
{if is_array($link)}
<a class="dropdown-item" href="{$link.URL}" title="{$link.TITLE}"{if isset($link.REL)} {$link.REL}{/if}>{$link.NAME}
<a class="dropdown-item" href="{$link.URL}"{if isset($link.TITLE)} title="{$link.TITLE}"{/if}{if isset($link.REL)} {$link.REL}{/if}>{$link.NAME}
{if isset($link.COUNTER)}<span class="badge badge-secondary ml-2">{$link.COUNTER}</span>{/if}
</a>
{/if}
Expand Down

0 comments on commit 204c9c8

Please sign in to comment.