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:
parent
8fe5714300
commit
edd35fb819
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user