mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fix typo variable name in _deleteDependent().
It's not a big deal but there was a typo in _deleteDependent() method. $savedAssociatons instead of $savedAssociations.
This commit is contained in:
parent
49aded5399
commit
e1c27af9e9
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue