From 4089f0f45667e2c7e4bcbe6d976278bfdc02b93c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Sun, 6 Sep 2020 04:45:44 +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/Command.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Database/Command.php b/Database/Command.php index 1bd77f7d..c51f165a 100644 --- a/Database/Command.php +++ b/Database/Command.php @@ -240,7 +240,7 @@ class Command extends Component if (!($connection = $this->initPDOStatement())) { return false; } - if (($result = $this->prepare->execute($this->prepare)) === false) { + if (($result = $this->prepare->execute($this->params)) === false) { return $this->addError($connection->errorInfo()[2]); } if (!$isInsert) {