From d183b156eece90d5fd7236e16a74228170b250b4 Mon Sep 17 00:00:00 2001 From: brotherand2 <547996854@qq.com> Date: Thu, 26 May 2022 13:00:40 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E5=B8=96=E5=AD=90=E6=97=B6@=E5=A5=BD=E5=8F=8B=E4=B8=8D?= =?UTF-8?q?=E7=94=9F=E6=95=88,=E7=BC=96=E8=BE=91=E5=9B=9E=E5=A4=8D?= =?UTF-8?q?=E5=B8=96=E5=AD=90@=E5=A5=BD=E5=8F=8B=E9=87=8D=E5=A4=8D?= =?UTF-8?q?=E9=80=9A=E7=9F=A5=201=20home=5Ffriend=20=E8=A1=A8=E6=B2=A1?= =?UTF-8?q?=E6=9C=89followuid,=E5=AE=83=E6=98=AFhome=5Ffollow=E8=A1=A8?= =?UTF-8?q?=E7=9A=84,=E8=A6=81=E6=94=B9=E4=B8=BAfuid,=E5=9B=A0=E6=AD=A4?= =?UTF-8?q?=E9=80=A0=E6=88=90=E5=B7=B2=E5=8F=91=E9=80=9A=E7=9F=A5=E7=9A=84?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E8=BF=87=E6=BB=A4=E5=A4=B1=E8=B4=A5,?= =?UTF-8?q?=E9=87=8D=E5=A4=8D=E5=8F=91at=E9=80=9A=E7=9F=A5=202=20parameter?= =?UTF-8?q?s=E6=98=AF=E5=B1=80=E9=83=A8=E5=8F=98=E9=87=8F,=E4=B8=8D?= =?UTF-8?q?=E6=98=AF=E5=BC=95=E7=94=A8=E4=BC=A0=E7=9A=84,=E4=BF=AE?= =?UTF-8?q?=E6=94=B9parameters['mesaage']=E6=B2=A1=E6=9C=89=E5=9B=9E?= =?UTF-8?q?=E4=BC=A0=E5=9B=9E=E5=8E=BB=E6=98=AF=E4=B8=8D=E7=94=9F=E6=95=88?= =?UTF-8?q?=E7=9A=84,=E5=AF=BC=E8=87=B4=E7=BC=96=E8=BE=91=E6=97=B6?= =?UTF-8?q?=E7=9A=84@=E6=B2=A1=E6=9C=89=E7=94=9F=E6=88=90=E8=B6=85?= =?UTF-8?q?=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- upload/source/class/extend/extend_thread_allowat.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/upload/source/class/extend/extend_thread_allowat.php b/upload/source/class/extend/extend_thread_allowat.php index 71fff696d..fde284d44 100644 --- a/upload/source/class/extend/extend_thread_allowat.php +++ b/upload/source/class/extend/extend_thread_allowat.php @@ -84,7 +84,7 @@ class extend_thread_allowat extends extend_thread_base { if(count($this->atlist) < $maxselect) { $query = C::t('home_friend')->fetch_all_by_uid_username($this->member['uid'], $atlist_tmp); foreach($query as $row) { - if(!in_array($row['followuid'], $ateduids)) { + if(!in_array($row['fuid'], $ateduids)) { $this->atlist[$row[fuid]] = $row['fusername']; } } @@ -144,7 +144,7 @@ class extend_thread_allowat extends extend_thread_base { if(count($this->atlist) < $maxselect) { $query = C::t('home_friend')->fetch_all_by_uid_username($this->member['uid'], $atlist_tmp); foreach($query as $row) { - if(!in_array($row['followuid'], $ateduids)) { + if(!in_array($row['fuid'], $ateduids)) { $this->atlist[$row[fuid]] = $row['fusername']; } } @@ -164,8 +164,8 @@ class extend_thread_allowat extends extend_thread_base { $atsearch[] = "/@$atusername /i"; $atreplace[] = "[url=home.php?mod=space&uid=$atuid]@{$atusername}[/url] "; } - $parameters['message'] = preg_replace($atsearch, $atreplace, $parameters['message'].' ', 1); - $parameters['message'] = substr($parameters['message'], 0, strlen($parameters['message']) - 1); + $this->param['message'] = preg_replace($atsearch, $atreplace, $parameters['message'].' ', 1); + $this->param['message'] = substr($this->param['message'], 0, strlen($this->param['message']) - 1); } } } -- Gitee