mirror of
https://github.com/e107inc/e107.git
synced 2025-08-30 09:39:55 +02:00
Bootstrap 4 toBadge() fix.
This commit is contained in:
@@ -1000,7 +1000,7 @@ class e_news_category_item extends e_front_model
|
||||
}
|
||||
}
|
||||
|
||||
public function sc_news_category_news_count($parm = '')
|
||||
public function sc_news_category_news_count($parm = null)
|
||||
{
|
||||
if(!$this->is('category_news_count'))
|
||||
{
|
||||
@@ -1012,7 +1012,7 @@ class e_news_category_item extends e_front_model
|
||||
return (string) $this->cat('news_count');
|
||||
}
|
||||
|
||||
return (string) e107::getParser()->toBadge( $this->cat('news_count'));
|
||||
return (string) e107::getParser()->toBadge( $this->cat('news_count'), $parm);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user