From 9285c24e86d6a61cf11f8bd56f89004a98e72c9e Mon Sep 17 00:00:00 2001 From: camer0n Date: Wed, 22 Nov 2023 12:27:25 -0800 Subject: [PATCH] Fixes #5111 - Comments without ajax PHP8 error. --- e107_handlers/comment_class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/e107_handlers/comment_class.php b/e107_handlers/comment_class.php index 578859fdd..11d2fcd7e 100644 --- a/e107_handlers/comment_class.php +++ b/e107_handlers/comment_class.php @@ -694,7 +694,8 @@ class comment } else { - $author_name = $data; //BC Fix. + $author_name = $data; //BC Fix. + $comment_share = 0; //BC Fix. }