Commit 73bb0471e9ec68d9bae55d6ddf05404605e8d25c
1 parent
5a86b6e8
catalog/category "/" end
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
common/modules/product/CatalogUrlManager.php
@@ -209,10 +209,10 @@ class CatalogUrlManager implements UrlRuleInterface { | @@ -209,10 +209,10 @@ class CatalogUrlManager implements UrlRuleInterface { | ||
209 | case 'catalog/category': | 209 | case 'catalog/category': |
210 | if (!empty($params['category'])) { | 210 | if (!empty($params['category'])) { |
211 | $category_alias = is_object($params['category']) ? $params['category']->alias : strtolower($params['category']); | 211 | $category_alias = is_object($params['category']) ? $params['category']->alias : strtolower($params['category']); |
212 | - $url = 'catalog/'. $category_alias .'/'; | 212 | + $url = 'catalog/'. $category_alias; |
213 | unset($params['category']); | 213 | unset($params['category']); |
214 | } else { | 214 | } else { |
215 | - $url = 'catalog/'; | 215 | + $url = 'catalog'; |
216 | } | 216 | } |
217 | 217 | ||
218 | $this->setFilterUrl($params, $url); | 218 | $this->setFilterUrl($params, $url); |