diff options
author | Mario Vavti <mario@mariovavti.com> | 2019-03-08 11:52:57 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2019-03-08 11:52:57 +0100 |
commit | 8ecdde6cb573ace776b472046388bb046dc59451 (patch) | |
tree | f568af943a17c3156adf2d34477cd424bc24bd94 /vendor/bshaffer/oauth2-server-php/src/OAuth2/Response.php | |
parent | 90fd323ac54619766feedf699e5f53fce04fc295 (diff) | |
parent | 5b3824917d591b27c4797971c8253ed67b41dc5a (diff) | |
download | volse-hubzilla-8ecdde6cb573ace776b472046388bb046dc59451.tar.gz volse-hubzilla-8ecdde6cb573ace776b472046388bb046dc59451.tar.bz2 volse-hubzilla-8ecdde6cb573ace776b472046388bb046dc59451.zip |
Merge branch '4.0RC'
Diffstat (limited to 'vendor/bshaffer/oauth2-server-php/src/OAuth2/Response.php')
-rw-r--r-- | vendor/bshaffer/oauth2-server-php/src/OAuth2/Response.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/bshaffer/oauth2-server-php/src/OAuth2/Response.php b/vendor/bshaffer/oauth2-server-php/src/OAuth2/Response.php index ccd797ae7..88c1ad5f7 100644 --- a/vendor/bshaffer/oauth2-server-php/src/OAuth2/Response.php +++ b/vendor/bshaffer/oauth2-server-php/src/OAuth2/Response.php @@ -366,7 +366,7 @@ class Response implements ResponseInterface if (count($this->parameters) > 0) { // add parameters to URL redirection $parts = parse_url($url); - $sep = isset($parts['query']) && count($parts['query']) > 0 ? '&' : '?'; + $sep = isset($parts['query']) && !empty($parts['query']) ? '&' : '?'; $url .= $sep . http_build_query($this->parameters); } |