aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/bshaffer/oauth2-server-php/src/OAuth2/Response.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2019-01-02 22:41:03 +0100
committerMario Vavti <mario@mariovavti.com>2019-01-02 22:41:03 +0100
commitdbd230da7407ac70483c004bc82f4b8619c42760 (patch)
tree14e016f85e6a8466a2dfcdbeadaab0adb8cff153 /vendor/bshaffer/oauth2-server-php/src/OAuth2/Response.php
parenta19563e1396cb882063db3ce3f355b2db48175e9 (diff)
downloadvolse-hubzilla-dbd230da7407ac70483c004bc82f4b8619c42760.tar.gz
volse-hubzilla-dbd230da7407ac70483c004bc82f4b8619c42760.tar.bz2
volse-hubzilla-dbd230da7407ac70483c004bc82f4b8619c42760.zip
update composer libs
Diffstat (limited to 'vendor/bshaffer/oauth2-server-php/src/OAuth2/Response.php')
-rw-r--r--vendor/bshaffer/oauth2-server-php/src/OAuth2/Response.php2
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);
}