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:
nate 2007-02-01 02:15:52 +00:00
parent f1912bbe60
commit 67c5c43761

View file

@ -1122,7 +1122,7 @@ class DboSource extends DataSource {
}
$conditions = $this->defaultConditions($model, $conditions);
if ($query === false) {
if ($conditions === false) {
return false;
}
$fields = join(',', $updates);