Commit a0373a38eb92beba940b508255c1b63b76fddf8a
1 parent
26f2d2d0
20.07.16
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
common/modules/product/CatalogUrlManager.php
| ... | ... | @@ -29,7 +29,7 @@ class CatalogUrlManager implements UrlRuleInterface { |
| 29 | 29 | $pathInfo = $request->getPathInfo(); |
| 30 | 30 | $paths = explode('/', $pathInfo); |
| 31 | 31 | |
| 32 | - if(strripos($request->url,$pathInfo.'?')){ | |
| 32 | + if(strripos($request->url,$pathInfo.'?') && (!strripos($request->url,'page')) && (!strripos($request->url,'sort'))){ | |
| 33 | 33 | throw new HttpException(404 ,'Page not found'); |
| 34 | 34 | } |
| 35 | 35 | ... | ... |