diff --git a/src/OAuth2/Util/RedirectUri.php b/src/OAuth2/Util/RedirectUri.php index 7e75ab44..580758e5 100644 --- a/src/OAuth2/Util/RedirectUri.php +++ b/src/OAuth2/Util/RedirectUri.php @@ -6,7 +6,7 @@ class RedirectUri { public static function make($uri, $params = array(), $queryDelimeter = '?') { - $uri .= (strstr($uri, $queryDelimeter) === false) ? $queryDelimeter ? '&'; - return $uri.http_build_query($params) + $uri .= (strstr($uri, $queryDelimeter) === false) ? $queryDelimeter : '&'; + return $uri.http_build_query($params); } } \ No newline at end of file