From 11a174fe1e39b8c74da69f0f115929dae8e59619 Mon Sep 17 00:00:00 2001 From: Rey Date: Fri, 25 Nov 2022 03:10:26 +0800 Subject: [PATCH] fix protected forums problem (#136) Co-authored-by: kongrui --- public/forums.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/public/forums.php b/public/forums.php index 2feee4a8..9eaa2578 100644 --- a/public/forums.php +++ b/public/forums.php @@ -751,7 +751,8 @@ if ($action == "viewtopic") print("\n"); print("\n"); - + + $body = "
"; //hidden content applied to second or higher floor post (for whose user class below Ad , not poster , not mods ,not reply's author) if ($protected_enabled && $pn+$offset>1 && get_user_class()"; - $bodyContent = format_comment($arr["body"]); if ($highlight){ $bodyContent = highlight($highlight,$body); }