diff --git a/bundle/Controller/InfoCollection/ViewModal.php b/bundle/Controller/InfoCollection/ViewModal.php index 9ff837b0..2ab97699 100644 --- a/bundle/Controller/InfoCollection/ViewModal.php +++ b/bundle/Controller/InfoCollection/ViewModal.php @@ -21,7 +21,10 @@ public function __invoke(int $formContentId, ?int $refererLocationId = null): Re $this->getLoadService()->loadContent($formContentId), 'modal', [ - 'referer' => $this->refererResolver->getReferer($refererLocationId), + 'params' => [ + 'referer' => $this->refererResolver->getReferer($refererLocationId), + 'refererLocationId' => $refererLocationId, + ], ], ), );