1
0
mirror of https://github.com/e107inc/e107.git synced 2025-03-13 17:09:46 +01:00

Update forum_viewtopic.php

This commit is contained in:
rica-carv 2016-12-01 22:10:41 +00:00 committed by GitHub
parent 292c3a42ae
commit e83d756425

View File

@ -616,7 +616,7 @@ require_once (HEADERF);
if ($forum->prefs->get('enclose'))
{
$forumTitle = varset($FORUMCAPTION) ? $tp->parseTemplate($FORUMCAPTION, TRUE, $sc) : e107::pref('forum','title', LAN_PLUGIN_FORUM_NAME);
$forumTitle = empty($FORUMCAPTION) ? e107::pref('forum','title', LAN_PLUGIN_FORUM_NAME) : $tp->parseTemplate($FORUMCAPTION, TRUE, $sc);
$ns->tablerender($forumTitle, $mes->render().$forumstring, array('forum_viewtopic', 'main'));
}
else