Skip to content

Commit

Permalink
namespace (#24569)
Browse files Browse the repository at this point in the history
  • Loading branch information
alikon authored and infograf768 committed Apr 13, 2019
1 parent 9cdb708 commit 3dde759
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/mod_menu/Helper/MenuHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,9 @@ public static function getList(&$params)
$item->flink = 'index.php?Itemid=' . $item->params->get('aliasoptions');

// Get the language of the target menu item when site is multilingual
if (JLanguageMultilang::isEnabled())
if (Multilanguage::isEnabled())
{
$newItem = JFactory::getApplication()->getMenu()->getItem((int) $item->params->get('aliasoptions'));
$newItem = Factory::getApplication()->getMenu()->getItem((int) $item->params->get('aliasoptions'));

// Use language code if not set to ALL
if ($newItem != null && $newItem->language && $newItem->language !== '*')
Expand Down

0 comments on commit 3dde759

Please sign in to comment.