修正query类的find方法

This commit is contained in:
thinkphp
2016-06-21 10:32:56 +08:00
parent 5c7618f2fa
commit 7627811cf5

View File

@@ -1801,7 +1801,7 @@ class Query
// 分析查询表达式
$options = $this->parseExpress();
if (!empty($data) || 0 == $data) {
if (!empty($data) || 0 === $data) {
// AR模式分析主键条件
$this->parsePkWhere($data, $options);
}