From 1d23f67e11179920cd751fe0299a372edc37a8a2 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Tue, 31 Jan 2017 10:47:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/db/Query.php | 2 -- 1 file changed, 2 deletions(-) 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; }