From 832b70a9d6ae793ce5fb56daafd8bc4bb3c0b554 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=B3na=20Lore?= Date: Thu, 31 Dec 2015 14:03:03 +0100 Subject: [PATCH] Fixed: PHP Fatal error: Cannot redeclare class social_comment... when using e107::getComment()->getCommentData() method. --- e107_handlers/comment_class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_handlers/comment_class.php b/e107_handlers/comment_class.php index 3c950b919..142d76ca1 100644 --- a/e107_handlers/comment_class.php +++ b/e107_handlers/comment_class.php @@ -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'];