From 8ff1c4cf70a7213ff73c0f1b6ab65a4ce7ec66e9 Mon Sep 17 00:00:00 2001 From: Tijn Kuyper Date: Thu, 11 Apr 2019 10:56:37 +0200 Subject: [PATCH] Forum - pass SC vars in 'start' template (viewtopic) --- e107_plugins/forum/forum_viewtopic.php | 1 + 1 file changed, 1 insertion(+) diff --git a/e107_plugins/forum/forum_viewtopic.php b/e107_plugins/forum/forum_viewtopic.php index bd55556a0..a2f20fdfd 100644 --- a/e107_plugins/forum/forum_viewtopic.php +++ b/e107_plugins/forum/forum_viewtopic.php @@ -470,6 +470,7 @@ function forumbuttons($thread) //---- $tVars->MESSAGE = $thread->message; $sc->setVars($thread->threadInfo); + $sc->setScVar('threadInfo', $thread->threadInfo); //$forum->set_crumb(true, '', $sc); // Set $BREADCRUMB (and BACKLINK) //---- $forstr = $tp->simpleParse($FORUMSTART, $tVars);