mirror of
https://github.com/e107inc/e107.git
synced 2025-08-21 13:52:35 +02:00
Updated FAQs plugin to use the right shortcode methods.
This commit is contained in:
@@ -275,7 +275,7 @@ class comment
|
||||
'rate' => $rating
|
||||
);
|
||||
|
||||
e107::getScBatch('comment')->setParserVars($data);
|
||||
e107::getScBatch('comment')->setVars($data);
|
||||
|
||||
e107::getScBatch('comment')->setMode('edit');
|
||||
|
||||
@@ -395,7 +395,7 @@ class comment
|
||||
|
||||
$row['rating_enabled'] = true; // Toggles rating shortcode. //TODO add pref
|
||||
|
||||
e107::getScBatch('comment')->setParserVars($row);
|
||||
e107::getScBatch('comment')->setVars($row);
|
||||
|
||||
$COMMENT_TEMPLATE = $this->template;
|
||||
|
||||
|
Reference in New Issue
Block a user