mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-28 10:33:49 +00:00
Remove deprecation linked to kernel shutdown
This commit is contained in:
@@ -279,7 +279,7 @@ class EventController extends AbstractController
|
||||
/**
|
||||
* @var Center $centers
|
||||
*/
|
||||
$centers = $this->authorizationHelper->getReachableCenters($this->getUser(), (string) $role);
|
||||
$centers = $this->authorizationHelper->getReachableCenters($this->getUser(), $role);
|
||||
|
||||
if (count($centers) === 1) {
|
||||
return $this->redirectToRoute('chill_event__event_new', [
|
||||
|
Reference in New Issue
Block a user