mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +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();
|
||||
}
|
||||
if (is_object($val2) && (is_a($val2, 'set') || is_a($val2, 'Set'))) {
|
||||
|
||||
$val2 = $val2->get();
|
||||
}
|
||||
|
||||
$out = array();
|
||||
|
|
Loading…
Add table
Reference in a new issue