From 1fa46dba59de4f785571e2cb6a065e690b534465 Mon Sep 17 00:00:00 2001 From: langningc2009 Date: Sun, 13 Aug 2023 16:38:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=9B=9E=E5=A4=8D=E6=97=B6?= =?UTF-8?q?=20@=20=E7=94=A8=E6=88=B7=E9=93=BE=E6=8E=A5=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Server/BBS-Debug.php | 2 +- Server/BBS.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Server/BBS-Debug.php b/Server/BBS-Debug.php index b632ac3e..680232c2 100644 --- a/Server/BBS-Debug.php +++ b/Server/BBS-Debug.php @@ -22,7 +22,7 @@ function NewReply(int $PostID, string $Content): int $Content = preg_replace_callback("/@([a-zA-Z0-9]+)/", function ($Matches) use (&$MentionPeople) { if (IfUserExist($Matches[1])) { $MentionPeople[] = $Matches[1]; - return " @" . $Matches[1] . " "; + return " @" . $Matches[1] . " "; } else { return "@" . $Matches[1]; } diff --git a/Server/BBS.php b/Server/BBS.php index b632ac3e..680232c2 100644 --- a/Server/BBS.php +++ b/Server/BBS.php @@ -22,7 +22,7 @@ function NewReply(int $PostID, string $Content): int $Content = preg_replace_callback("/@([a-zA-Z0-9]+)/", function ($Matches) use (&$MentionPeople) { if (IfUserExist($Matches[1])) { $MentionPeople[] = $Matches[1]; - return " @" . $Matches[1] . " "; + return " @" . $Matches[1] . " "; } else { return "@" . $Matches[1]; }