From 2f1e4235c6e2702a8e29bad528cec861d2b14049 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Thu, 25 Feb 2021 16:48:13 +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/SqlBuilder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Database/SqlBuilder.php b/Database/SqlBuilder.php index face7de4..106f4784 100644 --- a/Database/SqlBuilder.php +++ b/Database/SqlBuilder.php @@ -149,7 +149,7 @@ class SqlBuilder extends Component { $select = $this->builderSelect($this->query->select) . ' FROM ' . $this->tableName(); if (!empty($condition = $this->conditionToString())) { - $select = sprintf('%s %s', $select, $condition); + $select = sprintf('%s%s', $select, $condition); } if (!empty($this->query->group)) { $select .= ' GROUP BY ' . $this->query->group;