mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Issue #2081 - v2.x Shortcode Wrapper now working for Forum Post form.
This commit is contained in:
@@ -863,6 +863,9 @@ class forum_post_handler
|
||||
$data = $this->data;
|
||||
$template = $this->getTemplate();
|
||||
$sc = e107::getScBatch('post', 'forum')->setScVar('forum', $this->forumObj)->setScVar('threadInfo', vartrue($data))->setVars($data);
|
||||
|
||||
$sc->wrapper('forum_post');
|
||||
|
||||
$text = e107::getParser()->parseTemplate($template['form'], true, $sc);
|
||||
|
||||
$caption = null;
|
||||
|
Reference in New Issue
Block a user