mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
"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:
parent
d7c960ea15
commit
520d179850
1 changed files with 1 additions and 1 deletions
|
@ -638,7 +638,7 @@ class Model extends Overloadable {
|
|||
$plugin = $plugin . '.';
|
||||
}
|
||||
}
|
||||
$className = $plugin . $assoc;
|
||||
$className = $assoc;
|
||||
|
||||
if (isset($value['className']) && !empty($value['className'])) {
|
||||
$className = $value['className'];
|
||||
|
|
Loading…
Add table
Reference in a new issue