diff options
-rw-r--r-- | actions/twitapifriendships.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/twitapifriendships.php b/actions/twitapifriendships.php index 19617a071..19bc71b7a 100644 --- a/actions/twitapifriendships.php +++ b/actions/twitapifriendships.php @@ -129,8 +129,8 @@ class TwitapifriendshipsAction extends TwitterapiAction { $user_a_id = $this->trimmed('user_a'); $user_b_id = $this->trimmed('user_b'); - $user_a = $this->get_profile($user_a_id); - $user_b = $this->get_profile($user_b_id); + $user_a = $this->get_user($user_a_id); + $user_b = $this->get_user($user_b_id); if (!$user_a || !$user_b) { $this->client_error(_('Two user ids or screen_names must be supplied.'), 400, $apidata['content-type']); |