"Correcting line changed in error"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6319 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
phpnut 2008-01-03 19:41:06 +00:00
parent 5c1b96330b
commit 83b6be9d60

View file

@ -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;
}
}