mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-04 02:22:39 +00:00
Typo (ticket #1738)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4088 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
d67977bba0
commit
cc9b30ad2f
1 changed files with 2 additions and 2 deletions
|
@ -1877,8 +1877,8 @@ class Model extends Overloadable {
|
|||
if (defined('CACHE_CHECK') && CACHE_CHECK === true) {
|
||||
$assoc[] = strtolower(Inflector::pluralize($this->name));
|
||||
|
||||
foreach($this->__associations as $key => $asscociation) {
|
||||
foreach($this->$asscociation as $key => $className) {
|
||||
foreach($this->__associations as $key => $association) {
|
||||
foreach($this->$association as $key => $className) {
|
||||
$check = strtolower(Inflector::pluralize($className['className']));
|
||||
|
||||
if (!in_array($check, $assoc)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue