From 0638bc39d9458084d0f07f676c55377abcf5a359 Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Fri, 20 Jul 2012 15:43:08 +0100 Subject: [PATCH] Missing $type in fund call --- src/oauth2server/Server.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/oauth2server/Server.php b/src/oauth2server/Server.php index ff57534b..94aaf763 100644 --- a/src/oauth2server/Server.php +++ b/src/oauth2server/Server.php @@ -194,7 +194,7 @@ maintenance of the server.' array $authoriseParams) { // Check if the user already has an access token - $accessToken = $this->db->hasAccessToken($typeId, + $accessToken = $this->db->hasAccessToken($type, $typeId, $authoriseParams['client_id']); if ($accessToken !== false) {