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