From ccacff2220d28e58dd5e42716f28ae0b2b2578d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Rynning-T=C3=B8nnesen?= Date: Fri, 1 Jul 2016 11:49:00 +0200 Subject: [PATCH] Removed error with weird letter --- OAuth2Client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OAuth2Client.php b/OAuth2Client.php index d69414d..e911af0 100644 --- a/OAuth2Client.php +++ b/OAuth2Client.php @@ -27,7 +27,7 @@ class OAuth2 { $this->URL_TOKEN = $params["token"] . "?"; /* OPTIONAL */ - $this->auth_type = isset($params["authorization_type"]) ? $params["authorization_type"] : "Bearer"; + $this->auth_type = isset($params["authorization_type"]) ? $params["authorization_type"] : "Bearer"; $this->session = isset($params["session"]) ? $params["session"] : false; $this->verify_ssl_peer = isset($params["verify"]) ? ($params["verify"] ? 1 : 0) : 1; $this->verify_ssl_host = $this->verify_ssl_peer === 1 ? 2 : 0;