mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 05:44:24 +00:00
fix bug when using isGrantedForElement with ModifierInstance with a Role
This commit is contained in:
parent
70806408fd
commit
a4fbf27519
@ -324,6 +324,8 @@ class ExportManager
|
|||||||
} else {
|
} else {
|
||||||
$role = $export->requiredRole();
|
$role = $export->requiredRole();
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
$role = $element->addRole();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
throw new \LogicException("The element is not an ModifiersInterface or "
|
throw new \LogicException("The element is not an ModifiersInterface or "
|
||||||
|
Loading…
x
Reference in New Issue
Block a user