1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-02 20:57:26 +02:00

Issue #407 - Incorrect news category link.

This commit is contained in:
Cameron
2013-07-08 12:03:37 -07:00
parent b36c39277a
commit cb69048fd0

View File

@@ -128,8 +128,14 @@ class core_news_url extends eUrlConfig
break; break;
case 'category': case 'category':
if(!vartrue($params['id'])) $url .= 'default.0.'.$page; if(!vartrue($params['id']))
else $url .= 'list.'.$params['id'].'.'.$page; {
$url .= 'default.0.'.$page;
}
else
{
$url .= 'list.'.$params['category_id'].'.'.$page;
}
break; break;
case 'all': case 'all':