fixes #1266 improve url parsing after bugs introduced for #626

* /categories/123-album/start-10 now works
* /categories/permalink1/permalink2/start-20 now works (each permalink can contain several "/")
This commit is contained in:
plegall
2020-12-17 16:31:51 +01:00
parent af7e4028b0
commit a641b9eb08
2 changed files with 35 additions and 6 deletions
+1 -1
View File
@@ -614,7 +614,7 @@ if ( $filter['enabled'] )
}
// see if we need a redirect because of a permalink
if ( 'categories'==$page['section'] and isset($page['category']) )
if ( 'categories'==$page['section'] and isset($page['category']) and !isset($page['combined_categories']))
{
$need_redirect=false;
if ( empty($page['category']['permalink']) )