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