mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 21:27:25 +02:00
Fix for comments disappearing on news page when comment-menu loaded.
This commit is contained in:
@@ -66,7 +66,7 @@ class comment
|
|||||||
|
|
||||||
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.
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user