From dbf4a018efc944efcf2b610f9e6b0a793aaa8a70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 10 Aug 2021 10:30:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Database/Traits/QueryTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Database/Traits/QueryTrait.php b/Database/Traits/QueryTrait.php index 51c88979..cba97559 100644 --- a/Database/Traits/QueryTrait.php +++ b/Database/Traits/QueryTrait.php @@ -479,7 +479,7 @@ trait QueryTrait $oldWhere = '(' . implode(') AND (', $this->where) . ')'; - $this->where = [$oldWhere . ' OR ' . $conditionArray]; + $this->where = ['(' . $oldWhere . ') OR ' . $conditionArray]; return $this; }