From cc9b30ad2f681d804263f415d663e5b1d9c2aa5d Mon Sep 17 00:00:00 2001 From: dho Date: Fri, 8 Dec 2006 17:37:54 +0000 Subject: [PATCH] Typo (ticket #1738) git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4088 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/libs/model/model.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cake/libs/model/model.php b/cake/libs/model/model.php index e9a888a46..970e4b6ef 100644 --- a/cake/libs/model/model.php +++ b/cake/libs/model/model.php @@ -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)) {