From 802b9095188d51fd64d459291ca8828530220e83 Mon Sep 17 00:00:00 2001
From: Zach Copley <zach@controlyourself.ca>
Date: Tue, 7 Jul 2009 14:21:44 -0700
Subject: [PATCH] user/show API method needs to fall back to basic auth so that
 verify_credentials works correctly.

---
 actions/twitapiusers.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/actions/twitapiusers.php b/actions/twitapiusers.php
index e9fcccbde1..de8326e3ad 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)) {
-- 
2.39.5