It ain't static anymore Jim

This commit is contained in:
Alex Bilbie 2013-03-06 17:18:04 +00:00
parent c056be3e48
commit 7d0c075b36

View File

@ -376,7 +376,7 @@ class AuthServer
*/ */
public function issueAccessToken($inputParams = array()) public function issueAccessToken($inputParams = array())
{ {
$grantType = self::getParam('grant_type', 'post', $inputParams); $grantType = $this->getParam('grant_type', 'post', $inputParams);
if (is_null($grantType)) { if (is_null($grantType)) {
throw new Exception\ClientException(sprintf(self::$exceptionMessages['invalid_request'], 'grant_type'), 0); throw new Exception\ClientException(sprintf(self::$exceptionMessages['invalid_request'], 'grant_type'), 0);