1
0
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:
CaMer0n
2012-11-02 00:23:59 +00:00
parent 01dcf2a822
commit f2c7bad663
9 changed files with 60 additions and 41 deletions

View File

@@ -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;