Fixed invalid variable name

This commit is contained in:
Alex Bilbie 2012-07-06 19:29:20 +01:00
parent 1c5d239087
commit f0e36e6c94

View File

@ -182,7 +182,7 @@ class Server
public function newAuthoriseRequest(string $typeId, array $authoriseParams) public function newAuthoriseRequest(string $typeId, array $authoriseParams)
{ {
// Check if the user already has an access token // Check if the user already has an access token
$accessToken = $this->db->hasAccessToken($userId, $accessToken = $this->db->hasAccessToken($typeId,
$authoriseParams['client_id']); $authoriseParams['client_id']);
if ($accessToken !== false) { if ($accessToken !== false) {