mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-29 18:14:59 +00:00
fix cs
This commit is contained in:
@@ -531,7 +531,7 @@ class CalendarController extends AbstractController
|
|||||||
'returnPath' => $request->query->get('returnPath', null),
|
'returnPath' => $request->query->get('returnPath', null),
|
||||||
];
|
];
|
||||||
|
|
||||||
if ($calendar->getContext() === 'accompanying_period'){
|
if ($calendar->getContext() === 'accompanying_period') {
|
||||||
$routeParams['accompanying_period_id'] = $calendar->getAccompanyingPeriod()->getId();
|
$routeParams['accompanying_period_id'] = $calendar->getAccompanyingPeriod()->getId();
|
||||||
} elseif ($calendar->getContext() === 'person') {
|
} elseif ($calendar->getContext() === 'person') {
|
||||||
$routeParams['person_id'] = $calendar->getPerson()->getId();
|
$routeParams['person_id'] = $calendar->getPerson()->getId();
|
||||||
|
Reference in New Issue
Block a user