diff --git a/src/OAuth2/AuthServer.php b/src/OAuth2/AuthServer.php index 6923c424..9a531a78 100644 --- a/src/OAuth2/AuthServer.php +++ b/src/OAuth2/AuthServer.php @@ -376,7 +376,7 @@ class AuthServer */ public function issueAccessToken($inputParams = array()) { - $grantType = self::getParam('grant_type', 'post', $inputParams); + $grantType = $this->getParam('grant_type', 'post', $inputParams); if (is_null($grantType)) { throw new Exception\ClientException(sprintf(self::$exceptionMessages['invalid_request'], 'grant_type'), 0);