bshaffer/oauth2-server-php — pull request #74 by bojanz (2013-03-02 16:45:23+00:00)
Title: Missing token param in getAccessTokenData() doesn't return an appropriate error response

It seems that the if (!$token_param) { check was duplicated, and the first one doesn't set an error response, just returns NULL.

I've removed the first check, so that the second one returns the appropriate response.