We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f089158 + 859941a commit 13f6a50Copy full SHA for 13f6a50
src/lib/Server/Controller/Location/LocationRedirectController.php
@@ -73,7 +73,7 @@ public function redirectLocation(Request $request): TemporaryRedirect
73
$location = $this->locationService->loadLocationByRemoteId($request->query->getString('remoteId'));
74
} elseif ($request->query->has('urlAlias')) {
75
$urlAlias = $this->urlAliasService->lookup($request->query->getString('urlAlias'));
76
- $location = $this->locationService->loadLocation($urlAlias->destination);
+ $location = $this->locationService->loadLocation((int)$urlAlias->destination);
77
} else {
78
throw new BadRequestException("At least one of 'id', 'remoteId' or 'urlAlias' parameters is required.");
79
}
0 commit comments