mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Issue #407 - Incorrect news category link.
This commit is contained in:
@@ -128,8 +128,14 @@ class core_news_url extends eUrlConfig
|
||||
break;
|
||||
|
||||
case 'category':
|
||||
if(!vartrue($params['id'])) $url .= 'default.0.'.$page;
|
||||
else $url .= 'list.'.$params['id'].'.'.$page;
|
||||
if(!vartrue($params['id']))
|
||||
{
|
||||
$url .= 'default.0.'.$page;
|
||||
}
|
||||
else
|
||||
{
|
||||
$url .= 'list.'.$params['category_id'].'.'.$page;
|
||||
}
|
||||
break;
|
||||
|
||||
case 'all':
|
||||
|
Reference in New Issue
Block a user