29
0
mirror of https://github.com/joomla/joomla-cms.git synced 2024-06-27 07:33:41 +00:00

# [#20556] Home menu items are routed with alias if language switcher plugin is off. Thanks Dennis

git-svn-id: http://joomlacode.org/svn/joomla/development/trunk@17220 6f6e1ebd-4c2b-0410-823f-f34bde69bce9
This commit is contained in:
Jean-Marie Simonet 2010-05-22 17:52:03 +00:00
parent c4ec518e1e
commit a64f61e3c7
2 changed files with 4 additions and 1 deletions

View File

@ -307,7 +307,9 @@ class JRouterSite extends JRouter
if (isset($query['Itemid']) && !empty($query['Itemid'])) {
$item = $menu->getItem($query['Itemid']);
if (is_object($item) && $query['option'] == $item->component) {
$tmp = !empty($tmp) ? $item->route.'/'.$tmp : $item->route;
if (!$item->home) {
$tmp = !empty($tmp) ? $item->route.'/'.$tmp : $item->route;
}
$built = true;
}
}

View File

@ -33,6 +33,7 @@ $ [#20564] Inconsistence between userS and user view
# [#20486] Published date not being generated
# [#20511] Database error prevents installation (PHP strict)
$ Adding missing string. Sorting some main ini strings.
# [#20556] Home menu items are routed with alias if language switcher plugin is off. Thanks Dennis
21-May-2010 Jean-Marie Simonet
# Sample data error [20550]. Thanks Radek.