Fixes notice
This commit is contained in:
parent
3893c6210f
commit
a5c8c4d8b7
1 changed files with 3 additions and 3 deletions
|
@ -63,9 +63,9 @@ class Authorize extends BaseApi
|
||||||
|
|
||||||
// @todo Compare the application scope and requested scope
|
// @todo Compare the application scope and requested scope
|
||||||
|
|
||||||
$request = $_REQUEST;
|
$redirect_request = $_REQUEST;
|
||||||
unset($request['pagename']);
|
unset($redirect_request['pagename']);
|
||||||
$redirect = 'oauth/authorize?' . http_build_query($request);
|
$redirect = 'oauth/authorize?' . http_build_query($redirect_request);
|
||||||
|
|
||||||
$uid = local_user();
|
$uid = local_user();
|
||||||
if (empty($uid)) {
|
if (empty($uid)) {
|
||||||
|
|
Loading…
Reference in a new issue