1
0
mirror of https://github.com/e107inc/e107.git synced 2025-03-14 17:39:46 +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; global $COMMENTSTYLE;
if (!$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. elseif(!vartrue($COMMENT_TEMPLATE)) // BC template.
{ {