Permalink
Browse files

# [#30062] Base Item option in mod_menu has no effect [regression].

Thanks René Alain Erichsen
(Fix #710)
  • Loading branch information...
1 parent 59c95a8 commit 97a647583ce702b637f3997dc1ba42bf1a2ad8aa René Alain Erichsen committed with infograf768 Apr 4, 2013
Showing with 4 additions and 3 deletions.
  1. +1 −0 installation/CHANGELOG
  2. +3 −3 modules/mod_menu/helper.php
@@ -29,6 +29,7 @@ $ -> Language fix or change
# [#30454] Tags: Adding Tags via Batch function replaces all previous tags. Thanks David and Elin.
# [#30463] Missing closing div in compact tag layout. Thanks Thomas Hunziker and Constantin Romankiewicz
# [#30464] ACL Undefined variable error in contentadministrator.php on line 112. Thanks Constantin Romankiewicz
+ # [#30062] Base Item option in mod_menu has no effect [regression]. Thanks René Alain Erichsen
03-Apr-2013 Jean-Marie Simonet
# [#30349] Cleaned up use of database & query objects. Thanks Peter van Westen and Michael Babker
@@ -33,15 +33,15 @@ public static function getList(&$params)
$menu = $app->getMenu();
// Get active menu item
- $active = self::getActive($params);
+ $base = self::getBase($params);
$user = JFactory::getUser();
$levels = $user->getAuthorisedViewLevels();
asort($levels);
- $key = 'menu_items' . $params . implode(',', $levels) . '.' . $active->id;
+ $key = 'menu_items' . $params . implode(',', $levels) . '.' . $base->id;
$cache = JFactory::getCache('mod_menu', '');
if (!($items = $cache->get($key)))
{
- $path = $active->tree;
+ $path = $base->tree;
$start = (int) $params->get('startLevel');
$end = (int) $params->get('endLevel');
$showAll = $params->get('showAllChildren');

0 comments on commit 97a6475

Please sign in to comment.