mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fixed error in update statement.
This commit is contained in:
parent
4828e16762
commit
7fc3eead9c
1 changed files with 1 additions and 1 deletions
|
@ -363,7 +363,7 @@ class DboMysql extends DboSource {
|
|||
return false;
|
||||
}
|
||||
|
||||
if ($this->execute($this->renderStatement('update', compact('table', 'alias', 'joins', 'fields', 'conditions'))) === false) {
|
||||
if (!$this->execute($this->renderStatement('update', compact('table', 'alias', 'joins', 'fields', 'conditions')))) {
|
||||
$model->onError();
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue