1
0
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:
Cameron
2016-12-01 13:35:46 -08:00
parent 61a02c7569
commit 26bee2b7d5
2 changed files with 4 additions and 0 deletions

View File

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