mirror of
https://github.com/e107inc/e107.git
synced 2025-08-11 09:04:38 +02:00
{NEWS_RATE: readonly=1} support.
This commit is contained in:
@@ -382,9 +382,9 @@ class news_shortcodes extends e_shortcode
|
||||
|
||||
}
|
||||
|
||||
public function sc_news_rate($parm=null)
|
||||
public function sc_news_rate($parm=array())
|
||||
{
|
||||
return e107::getRate()->render("news", $this->news_item['news_id']);
|
||||
return e107::getRate()->render("news", $this->news_item['news_id'],$parm);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user