From 2d295d8e433164ae11e36e00155cf6ef3f80859b Mon Sep 17 00:00:00 2001 From: Tchama Date: Fri, 25 Jan 2019 13:45:34 +0100 Subject: [PATCH] test --- Security/Authorization/EventVoter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Security/Authorization/EventVoter.php b/Security/Authorization/EventVoter.php index f3ef499f0..c41a200b1 100644 --- a/Security/Authorization/EventVoter.php +++ b/Security/Authorization/EventVoter.php @@ -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;