Skip to content

Commit

Permalink
fixed render t3bootstrap menu
Browse files Browse the repository at this point in the history
  • Loading branch information
kienduongbk committed Oct 3, 2021
1 parent 16b73a6 commit 783bed7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/plg_system_t3/includes/menu/t3bootstrap.tpl.php
Expand Up @@ -25,8 +25,8 @@ static function render($list)
<ul class="nav navbar-nav">
<?php
foreach ($list as &$item) :
$ItemParams = version_compare(JVERSION, '4', 'ge') ? $item->getParams() : $Item->params;
$Item->itemParams = $ItemParams;
$ItemParams = version_compare(JVERSION, '4', 'ge') ? $item->getParams() : $item->params;
$item->itemParams = $ItemParams;
//intergration with new params joomla 3.6.x (menu_show)
$menu_show = (int)$ItemParams->get('menu_show', 1);
if ($menu_show!=1)
Expand Down

0 comments on commit 783bed7

Please sign in to comment.