This commit is contained in:
thinkphp
2018-01-20 18:35:29 +08:00
parent 69326f050f
commit 7b669b20dd

View File

@@ -2355,7 +2355,7 @@ class Query
}
}
if (isset($cache) && $resultSet) {
if (isset($cache) && false !== $resultSet) {
// 缓存数据集
$this->cacheData($key, $resultSet, $cache);
}