Fixing object support for Set::diff()

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4500 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
nate 2007-02-10 17:21:32 +00:00
parent 4fb52738d3
commit 3bff0fd2d1

View file

@ -257,7 +257,7 @@ class Set extends Object {
$val1 = $this->get();
}
if (is_object($val2) && (is_a($val2, 'set') || is_a($val2, 'Set'))) {
$val2 = $val2->get();
}
$out = array();