From b7b5d9abf2473a88f1a052e8d01c4c5afc3a1868 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=A1=E5=AE=85=E7=94=B7=28YznCMS=E5=AE=98=E6=96=B9=29?= <530765310@qq.com> Date: Sat, 23 May 2026 14:49:42 +0000 Subject: [PATCH] =?UTF-8?q?update=20application/common/library/SelectPage.?= =?UTF-8?q?php.=20$selectpageFields=E5=A6=82=E6=9E=9C=E6=98=AF=E5=AD=97?= =?UTF-8?q?=E7=AC=A6=E4=B8=B2=20=E5=B9=B6=E4=B8=94=E6=9C=89=E7=A9=BA?= =?UTF-8?q?=E6=A0=BC=E7=9A=84=E6=97=B6=E5=80=99=20=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E5=8C=B9=E9=85=8D=20protected=20$selectpageFields=20=3D=20'id,?= =?UTF-8?q?=20username,nickname';?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 御宅男(YznCMS官方) <530765310@qq.com> --- application/common/library/SelectPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/common/library/SelectPage.php b/application/common/library/SelectPage.php index 17d41a7c1..8706e3b50 100644 --- a/application/common/library/SelectPage.php +++ b/application/common/library/SelectPage.php @@ -440,7 +440,7 @@ class SelectPage return $this->selectpageFields; } if ($this->selectpageFields && $this->selectpageFields !== '*') { - return explode(',', $this->selectpageFields); + return array_map('trim', explode(',', $this->selectpageFields)); } return []; } -- Gitee