From 96994d121995bd08a4ab42d9c204e2929ca8db95 Mon Sep 17 00:00:00 2001 From: wanyongkang <937888580@qq.com> Date: Sat, 24 Oct 2020 18:40:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E6=9D=A1=E4=BB=B6=E5=A4=84?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fastphp/db/Sql.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastphp/db/Sql.php b/fastphp/db/Sql.php index 8245325..18da4ce 100644 --- a/fastphp/db/Sql.php +++ b/fastphp/db/Sql.php @@ -35,7 +35,7 @@ class Sql $this->filter .= ' WHERE '; } if (is_string($where)) { - $this->filter .= ' WHERE ' . $where; + $this->filter .= $where; } else { $flag = true; foreach ($where as $key => $value) {