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