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:
dho 2006-07-07 07:07:45 +00:00
parent d8533c4d34
commit af18379343

View file

@ -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]])) {