Skip to content

Commit

Permalink
Use proper urlParameter collection - getParams() tries to parse the r…
Browse files Browse the repository at this point in the history
…equest body
  • Loading branch information
DeepDiver1975 committed Nov 27, 2017
1 parent c0826a0 commit 58919af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/AppInfo/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public function __construct(array $urlParams = array()) {
public function boot() {
$this->getContainer()->query('UserHooks')->register();
$request = $this->getContainer()->getServer()->getRequest();
$redirectUrl = $request->getParam('redirect_url');
$redirectUrl = isset($request->urlParams['redirect_url']) ? $request->urlParams['redirect_url'] : null;
if ($redirectUrl === null) {
return;
}
Expand Down

0 comments on commit 58919af

Please sign in to comment.