Skip to content

Commit

Permalink
Pass referer params properly
Browse files Browse the repository at this point in the history
  • Loading branch information
pspanja committed Jun 26, 2023
1 parent f991501 commit 688b387
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bundle/Controller/InfoCollection/ViewModal.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
],
],
),
);
Expand Down

0 comments on commit 688b387

Please sign in to comment.