Merge pull request #1309 from damien-biasotto/patch-1

Fix typo variable name in _deleteDependent().
This commit is contained in:
ADmad 2013-05-29 04:42:27 -07:00
commit 5c38b7e66c

View file

@ -2449,7 +2449,7 @@ class Model extends Object implements CakeEventListener {
return; return;
} }
if (!empty($this->__backAssociation)) { if (!empty($this->__backAssociation)) {
$savedAssociatons = $this->__backAssociation; $savedAssociations = $this->__backAssociation;
$this->__backAssociation = array(); $this->__backAssociation = array();
} }
@ -2485,8 +2485,8 @@ class Model extends Object implements CakeEventListener {
} }
} }
} }
if (isset($savedAssociatons)) { if (isset($savedAssociations)) {
$this->__backAssociation = $savedAssociatons; $this->__backAssociation = $savedAssociations;
} }
} }