Fixing typo (ticket #2057)

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4452 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
dho 2007-02-05 12:26:31 +00:00
parent dddbaa69f2
commit 24d65cafbc

View file

@ -495,7 +495,7 @@ class Model extends Overloadable {
} elseif (isset($options[0])) { } elseif (isset($options[0])) {
$assoc = $options[0]; $assoc = $options[0];
} }
if(!$permenant) { if(!$permanent) {
$this->__backAssociation[$assoc] = $this->{$assoc}; $this->__backAssociation[$assoc] = $this->{$assoc};
} }
foreach($model as $key => $value) { foreach($model as $key => $value) {