From 67c5c4376138a7d0b9043110254be9c650b900c5 Mon Sep 17 00:00:00 2001 From: nate Date: Thu, 1 Feb 2007 02:15:52 +0000 Subject: [PATCH] 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 --- cake/libs/model/datasources/dbo_source.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/libs/model/datasources/dbo_source.php b/cake/libs/model/datasources/dbo_source.php index 121172878..9cb59d04b 100644 --- a/cake/libs/model/datasources/dbo_source.php +++ b/cake/libs/model/datasources/dbo_source.php @@ -1122,7 +1122,7 @@ class DboSource extends DataSource { } $conditions = $this->defaultConditions($model, $conditions); - if ($query === false) { + if ($conditions === false) { return false; } $fields = join(',', $updates);