mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Fixing undefined variable notice in DboSource::update()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4374 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
f1912bbe60
commit
67c5c43761
1 changed files with 1 additions and 1 deletions
|
@ -1122,7 +1122,7 @@ class DboSource extends DataSource {
|
|||
}
|
||||
$conditions = $this->defaultConditions($model, $conditions);
|
||||
|
||||
if ($query === false) {
|
||||
if ($conditions === false) {
|
||||
return false;
|
||||
}
|
||||
$fields = join(',', $updates);
|
||||
|
|
Loading…
Reference in a new issue