mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
fix cs
This commit is contained in:
parent
386d1e44d0
commit
3df8ee6dc4
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user