mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-02-07 12:36:25 +00:00
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:
parent
4fb52738d3
commit
3bff0fd2d1
1 changed files with 1 additions and 1 deletions
|
@ -257,7 +257,7 @@ class Set extends Object {
|
||||||
$val1 = $this->get();
|
$val1 = $this->get();
|
||||||
}
|
}
|
||||||
if (is_object($val2) && (is_a($val2, 'set') || is_a($val2, 'Set'))) {
|
if (is_object($val2) && (is_a($val2, 'set') || is_a($val2, 'Set'))) {
|
||||||
|
$val2 = $val2->get();
|
||||||
}
|
}
|
||||||
|
|
||||||
$out = array();
|
$out = array();
|
||||||
|
|
Loading…
Add table
Reference in a new issue