mirror of
https://github.com/e107inc/e107.git
synced 2025-08-11 09:04:38 +02:00
Fixed: PHP Fatal error: Cannot redeclare class social_comment... when using e107::getComment()->getCommentData() method.
This commit is contained in:
@@ -1306,7 +1306,7 @@ class comment
|
|||||||
foreach ($files as $file=>$perms)
|
foreach ($files as $file=>$perms)
|
||||||
{
|
{
|
||||||
unset($e_comment, $key);
|
unset($e_comment, $key);
|
||||||
include (e_PLUGIN.$file."/e_comment.php");
|
include_once (e_PLUGIN.$file."/e_comment.php");
|
||||||
if ($e_comment && is_array($e_comment))
|
if ($e_comment && is_array($e_comment))
|
||||||
{
|
{
|
||||||
$key = $e_comment['eplug_comment_ids'];
|
$key = $e_comment['eplug_comment_ids'];
|
||||||
|
Reference in New Issue
Block a user