mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-30 17:17:22 +08:00
BugFix : 论坛搜索跳转后页面高亮显示逻辑处理异常,导致无法正常显示回帖内容 (#175)
Co-authored-by: Susan <848352497@qq.com>
This commit is contained in:
+1
-1
@@ -772,7 +772,7 @@ if ($action == "viewtopic")
|
|||||||
$bodyContent = format_comment($arr["body"]);
|
$bodyContent = format_comment($arr["body"]);
|
||||||
}
|
}
|
||||||
if ($highlight){
|
if ($highlight){
|
||||||
$bodyContent = highlight($highlight,$body);
|
$bodyContent = highlight($highlight,$bodyContent);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (is_valid_id($arr['editedby']))
|
if (is_valid_id($arr['editedby']))
|
||||||
|
|||||||
Reference in New Issue
Block a user