1
0
mirror of https://github.com/e107inc/e107.git synced 2025-03-14 01:19:44 +01:00

Fix for comments disappearing on news page when comment-menu loaded.

This commit is contained in:
Cameron 2013-04-30 17:02:09 -07:00
parent 809e68f1ab
commit 79542b0104

View File

@ -65,8 +65,8 @@ class comment
global $COMMENTSTYLE;
if (!$COMMENTSTYLE)
{
require_once(e107::coreTemplatePath('comment'));
{
require(e107::coreTemplatePath('comment')); // using require_once() could cause an empty template if the template is already loaded, for example, by the comment-menu al
}
elseif(!vartrue($COMMENT_TEMPLATE)) // BC template.
{