summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2009-07-07 14:21:44 -0700
committerZach Copley <zach@controlyourself.ca>2009-07-07 14:21:44 -0700
commit802b9095188d51fd64d459291ca8828530220e83 (patch)
treed178dd72a5d91d182f238e20722568731dcf1ffd /actions
parent673cdab874422634a3be8afc009fbd983c73e572 (diff)
user/show API method needs to fall back to basic auth so that
verify_credentials works correctly.
Diffstat (limited to 'actions')
-rw-r--r--actions/twitapiusers.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/twitapiusers.php b/actions/twitapiusers.php
index e9fcccbde..de8326e3a 100644
--- a/actions/twitapiusers.php
+++ b/actions/twitapiusers.php
@@ -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)) {