php8 兼容

This commit is contained in:
F4nniu
2023-06-26 16:03:36 +08:00
parent 0968118994
commit 973285c462
6 changed files with 23 additions and 3 deletions

View File

@@ -480,6 +480,7 @@ class Query
$result = Cache::get($guid);
}
if (false === $result) {
$result = [];
if (isset($this->options['field'])) {
unset($this->options['field']);
}