mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 11:06:15 +00:00
commit
2d46be6de5
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ class AclBehavior extends ModelBehavior {
|
||||||
$types = array($types);
|
$types = array($types);
|
||||||
}
|
}
|
||||||
foreach ($types as $type) {
|
foreach ($types as $type) {
|
||||||
$parent = $model->parentNode();
|
$parent = $model->parentNode($type);
|
||||||
if (!empty($parent)) {
|
if (!empty($parent)) {
|
||||||
$parent = $this->node($model, $parent, $type);
|
$parent = $this->node($model, $parent, $type);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue