From 7d0c075b36581bee17f00765862c4ec8a0ea0762 Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Wed, 6 Mar 2013 17:18:04 +0000 Subject: [PATCH] It ain't static anymore Jim --- src/OAuth2/AuthServer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);