diff --git a/library/think/db/Query.php b/library/think/db/Query.php index e3e74c38..335fe493 100644 --- a/library/think/db/Query.php +++ b/library/think/db/Query.php @@ -2473,8 +2473,6 @@ class Query } } elseif (!empty($options['fail'])) { $this->throwNotFound($options); - } else { - $result = null; } return $result; }