This commit is contained in:
2020-09-06 04:45:44 +08:00
parent 865e126fcc
commit 4089f0f456
+1 -1
View File
@@ -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) {