mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 11:06:15 +00:00
fixes #5339 incorrect bracketting for bindModel statement in tree behavior recover method. removing the actsAs key
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7526 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
e64af40530
commit
5e11e1490b
1 changed files with 1 additions and 2 deletions
|
@ -540,8 +540,7 @@ class TreeBehavior extends ModelBehavior {
|
|||
$model->bindModel(array('belongsTo' => array('VerifyParent' => array(
|
||||
'className' => $model->alias,
|
||||
'foreignKey' => $parent,
|
||||
'fields' => array($model->primaryKey, $left, $right, $parent,
|
||||
'actsAs' => '')
|
||||
'fields' => array($model->primaryKey, $left, $right, $parent),
|
||||
))));
|
||||
$missingParents = $model->find('list', array(
|
||||
'recursive' => 0,
|
||||
|
|
Loading…
Add table
Reference in a new issue