From 83b6be9d6066cb161145f34cefe85358e3da8951 Mon Sep 17 00:00:00 2001 From: phpnut Date: Thu, 3 Jan 2008 19:41:06 +0000 Subject: [PATCH] "Correcting line changed in error" git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6319 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/libs/model/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/libs/model/model.php b/cake/libs/model/model.php index de5001ca8..595541604 100644 --- a/cake/libs/model/model.php +++ b/cake/libs/model/model.php @@ -1777,7 +1777,7 @@ class Model extends Overloadable { if (empty($results)) { return array(); } - return Set::combine($results, $keyPath, $valuePath); + return Set::combine($this->__filterResults($results, true), $keyPath, $valuePath); break; } }