1
0
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:
Cameron
2017-11-09 10:15:36 -08:00
parent 62d483e51d
commit 93ab7996c7
3 changed files with 25 additions and 6 deletions

View File

@@ -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'));
}
}