From 938c54888fb43eb6d76a45a17773591e2416d0ce Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Fri, 6 Jul 2012 19:32:27 +0100 Subject: [PATCH] Fixed variable name --- 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 58858db0..1437dc45 100644 --- a/src/oauth2server/Server.php +++ b/src/oauth2server/Server.php @@ -241,7 +241,7 @@ class Server // If an access token exists then update the existing session with the // new authorisation code otherwise create a new session - if ($access_token !== null) { + if ($accessToken !== null) { $this->db->updateSession( $clientId,