"Fixes #3876, Associations do not work correctly in plugins"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6382 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
phpnut 2008-01-16 07:34:42 +00:00
parent d7c960ea15
commit 520d179850

View file

@ -638,7 +638,7 @@ class Model extends Overloadable {
$plugin = $plugin . '.'; $plugin = $plugin . '.';
} }
} }
$className = $plugin . $assoc; $className = $assoc;
if (isset($value['className']) && !empty($value['className'])) { if (isset($value['className']) && !empty($value['className'])) {
$className = $value['className']; $className = $value['className'];