mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 22:04:23 +00:00
test
This commit is contained in:
parent
a10d48642f
commit
2d295d8e43
@ -91,7 +91,7 @@ class EventVoter extends AbstractChillVoter implements ProvideRoleHierarchyInter
|
||||
throw new \LogicException("You should associate a person with event "
|
||||
. "in order to check autorizations");
|
||||
}
|
||||
$person = $subject->getId(); // liaison event --> person
|
||||
$person = $subject->getId(); // liaison event --> person
|
||||
|
||||
} elseif ($subject instanceof Person) {
|
||||
$person = $subject;
|
||||
|
Loading…
x
Reference in New Issue
Block a user