diff --git a/library/think/db/Query.php b/library/think/db/Query.php index 5b1c9003..327d2b4c 100644 --- a/library/think/db/Query.php +++ b/library/think/db/Query.php @@ -775,6 +775,9 @@ class Query } if (is_string($field)) { + if (preg_match('/[\<\'\"\(]/', $field)) { + return $this->fieldRaw($field); + } $field = array_map('trim', explode(',', $field)); } if (true === $field) {