Pre Merge pull request !528 from 还俗二师兄/1.7.x-dev-selectPage

pull/528/MERGE
还俗二师兄 2026-06-05 08:55:36 +00:00 committed by Gitee
commit 32d75cd597
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 1 deletions

View File

@ -235,7 +235,7 @@ class SelectPage
protected function validateField(string $field)
{
$field = strtolower($field);
if (!in_array($field, $this->allowedFields, true)) {
if (!in_array($field, $this->allowedFields, true) && !in_array($field, $this->resolveSelectpageFields(), true)) {
throw new Exception('Invalid parameters');
}
}