1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-07 07:06:30 +02:00

Fixed: PHP Fatal error: Cannot redeclare class social_comment... when using e107::getComment()->getCommentData() method.

This commit is contained in:
Lóna Lore
2015-12-31 14:03:03 +01:00
parent cc7aa55810
commit 832b70a9d6

View File

@@ -1306,7 +1306,7 @@ class comment
foreach ($files as $file=>$perms)
{
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))
{
$key = $e_comment['eplug_comment_ids'];