diff --git a/application/common/library/SelectPage.php b/application/common/library/SelectPage.php index 17d41a7c13f0609934a111cc4fd93eb1a6520a2a..8706e3b5069a3c937dd5c1edd2e769045adbde18 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 []; }