Skip to content

Commit 13f6a50

Browse files
committed
Merged branch '4.6'
# Conflicts: # phpstan-baseline.neon # src/lib/Server/Controller/Location.php
2 parents f089158 + 859941a commit 13f6a50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/Server/Controller/Location/LocationRedirectController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public function redirectLocation(Request $request): TemporaryRedirect
7373
$location = $this->locationService->loadLocationByRemoteId($request->query->getString('remoteId'));
7474
} elseif ($request->query->has('urlAlias')) {
7575
$urlAlias = $this->urlAliasService->lookup($request->query->getString('urlAlias'));
76-
$location = $this->locationService->loadLocation($urlAlias->destination);
76+
$location = $this->locationService->loadLocation((int)$urlAlias->destination);
7777
} else {
7878
throw new BadRequestException("At least one of 'id', 'remoteId' or 'urlAlias' parameters is required.");
7979
}

0 commit comments

Comments
 (0)