Skip to content

Commit

Permalink
[BUGFIX] Fix language parameter for link generation in showAction
Browse files Browse the repository at this point in the history
Refs #252
  • Loading branch information
derhansen committed Dec 7, 2023
1 parent 6352f2c commit 926e0ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Controller/BannerController.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function showAction(): ResponseInterface
];

if ($languageAspect->getId() > 0) {
$arguments['_language'] = $languageAspect;
$arguments['_language'] = $languageAspect->getId();
}

$fetchUrl = (string)$this->request->getAttribute('site')->getRouter()
Expand Down

0 comments on commit 926e0ba

Please sign in to comment.