Removed error with weird letter

This commit is contained in:
Kasper Rynning-Tønnesen 2016-07-01 11:49:00 +02:00
parent a1e0a7abee
commit ccacff2220
1 changed files with 1 additions and 1 deletions

View File

@ -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;