mirror of
https://github.com/e107inc/e107.git
synced 2025-08-21 21:57:34 +02:00
Minor fixes and debug.
This commit is contained in:
@@ -995,6 +995,12 @@ class e_news_category_item extends e_front_model
|
||||
{
|
||||
return '';
|
||||
}
|
||||
|
||||
if($parm === 'raw')
|
||||
{
|
||||
return (string) $this->cat('news_count');
|
||||
}
|
||||
|
||||
return (string) e107::getParser()->toBadge( $this->cat('news_count'));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user