From 7b669b20dd05685ddf41bfb7ce0eb9b5fd76c7d2 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Sat, 20 Jan 2018 18:35:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E8=BF=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/db/Query.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/think/db/Query.php b/library/think/db/Query.php index 829e66d5..cf65e4c3 100644 --- a/library/think/db/Query.php +++ b/library/think/db/Query.php @@ -2355,7 +2355,7 @@ class Query } } - if (isset($cache) && $resultSet) { + if (isset($cache) && false !== $resultSet) { // 缓存数据集 $this->cacheData($key, $resultSet, $cache); }