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:
parent
809e68f1ab
commit
79542b0104
@ -66,7 +66,7 @@ class comment
|
||||
|
||||
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.
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user