mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +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 {
|
||||
$role = $export->requiredRole();
|
||||
}
|
||||
} else {
|
||||
$role = $element->addRole();
|
||||
}
|
||||
} else {
|
||||
throw new \LogicException("The element is not an ModifiersInterface or "
|
||||
|
Loading…
x
Reference in New Issue
Block a user