user/show API method needs to fall back to basic auth so that

verify_credentials works correctly.
This commit is contained in:
Zach Copley 2009-07-07 14:21:44 -07:00
parent 673cdab874
commit 802b909518

View File

@ -43,7 +43,7 @@ class TwitapiusersAction extends TwitterapiAction
if ($email) {
$user = User::staticGet('email', $email);
} else {
$user = $this->get_user($apidata['api_arg']);
$user = $this->get_user($apidata['api_arg'], $apidata);
}
if (empty($user)) {