Skip to content

Commit

Permalink
Update topmenu.phtml
Browse files Browse the repository at this point in the history
  • Loading branch information
diazwatson committed Feb 12, 2018
1 parent a1d5711 commit f21e97d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions view/frontend/templates/html/topmenu.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ $itemCount = 0;
<a href="<?php echo $block->getCategoryUrl($category); ?>" class="level-top ui-corner-all">
<?php echo $category->getData('name'); ?>
</a>
<?php if ($block->getCmsMenu($category)) : ?>
<?php if ($cmsMenu = $block->getCmsMenu($category)) : ?>
<ul class="level0 submenu ui-menu ui-widget ui-widget-content ui-corner-all">
<?php echo $block->getCmsMenu($category); ?>
<?php echo $cmsMenu; ?>
</ul>
<?php endif; ?>
</li>
Expand Down

0 comments on commit f21e97d

Please sign in to comment.