Spelling fix

This commit is contained in:
Alex Bilbie 2012-08-27 14:24:43 +01:00
parent 3ab511f2f7
commit 95931abd6b

View File

@ -115,7 +115,7 @@ class Server
$accessToken = null;
// Try and get the access token via an access_token or oauth_token parameter
switch ($server['REQUEST_METHOD'])
switch ($_SERVER['REQUEST_METHOD'])
{
case 'POST':
$accessToken = isset($_POST[$this->_config['token_key']]) ? $_POST[$this->_config['token_key']] : null;