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

[#27650] sample sites - category not found

This commit is contained in:
Hooduku Team 2012-01-10 15:08:59 -08:00 committed by Mark Dexter
parent 8fe5714300
commit edd35fb819
2 changed files with 7 additions and 2 deletions

View File

@ -215,6 +215,10 @@ class JRouterSite extends JRouter
$lang_tag = JFactory::getLanguage()->getTag();
foreach ($items as $item) {
//sqlsrv change
if(isset($item->language)){
$item->language = trim($item->language);
}
$length = strlen($item->route); //get the length of the route
if ($length > 0 && JString::strpos($route_lowercase.'/', $item->route.'/') === 0 && $item->type != 'menulink' && ($item->language == '*' || $item->language == $lang_tag)) {
// We have exact item for this language
@ -477,4 +481,4 @@ class JRouterSite extends JRouter
return $uri;
}
}
}

View File

@ -40,9 +40,10 @@ $ -> Language fix or change
# [#27479] Finder schema to support SQLServer
# [#27607] Sample Data for SQLServer and SQLAzure
# [#27635] JForm issue with Fabrik - proposed solution
# [#27630] Issue with replacePrefix -- valid only for SQLServer
# [#27630] Issue with replacePrefix -- valid only for SQLServer (thanks Rouven & Christophe)
+ [#27507] Add ablility to turn off the email to user when an Admin creates a user
# [#24602] Users with create rights in a category but not component can't create subcategories**
# [#27650] sample sites - category not found
09-Jan-2012 Jean-Marie Simonet
# [#27671] Hathor Global configuration not working. Thanks Andrea.