We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3caffba commit 3961285Copy full SHA for 3961285
src/lib/API/Facade/TrashFacade.php
@@ -37,7 +37,7 @@ public function trash(string $locationURL)
37
$urlAlias = $this->urlAliasService->lookup($locationURL);
38
Assert::assertEquals(URLAlias::LOCATION, $urlAlias->type);
39
40
- $location = $this->locationService->loadLocation($urlAlias->destination);
+ $location = $this->locationService->loadLocation((int) $urlAlias->destination);
41
42
$this->trashService->trash($location);
43
}
0 commit comments