We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 05fe4f6a authored by zach's avatar zach

Twitter-compatible API: /friendship/exists always failed - fixed!

darcs-hash:20080720083948-ca946-14b4ef6a5fe387f1e147546be156fafb7d665275.gz
parent 93ac0bca
......@@ -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']);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment