mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-03-12 20:49:50 +00:00
Fixing syntax error
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3212 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
d8533c4d34
commit
af18379343
1 changed files with 3 additions and 3 deletions
|
@ -515,11 +515,11 @@ class Model extends Object{
|
|||
case 'className':
|
||||
$data = $class;
|
||||
break;
|
||||
} elseif ($key == 'with') {
|
||||
$this->{$type}[$assocKey][$key] = normalizeList($this->{$type}[$assocKey][$key]);
|
||||
}
|
||||
|
||||
|
||||
$this->{$type}[$assocKey][$key] = $data;
|
||||
} elseif ($key == 'with') {
|
||||
$this->{$type}[$assocKey][$key] = normalizeList($this->{$type}[$assocKey][$key]);
|
||||
}
|
||||
|
||||
if ($key == 'foreignKey' && !isset($this->keyToTable[$this->{$type}[$assocKey][$key]])) {
|
||||
|
|
Loading…
Add table
Reference in a new issue