diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-07-18 00:23:52 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-07-18 00:23:52 -0400 |
commit | 566d9ad20d2c2d9ac3ed11a27c7f09cdd46ee742 (patch) | |
tree | d18d4b505518619cf76902267deb9f7496478e6e /actions/twitapifriendships.php | |
parent | 3614c77d64f9ec96c9f4ed80c30ea2874e4c56d2 (diff) |
getting the id from the wrong place
darcs-hash:20080718042352-84dde-6326cd8c68b73ccf801b93314e3f5352ff744544.gz
Diffstat (limited to 'actions/twitapifriendships.php')
-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 29c2311b3..89b60e505 100644 --- a/actions/twitapifriendships.php +++ b/actions/twitapifriendships.php @@ -26,7 +26,7 @@ class TwitapifriendshipsAction extends TwitterapiAction { function create($args, $apidata) { parent::handle($args); - $id = $this->trimmed('id'); + $id = $apidata['api_arg']; $other = $this->get_user($id); @@ -73,7 +73,7 @@ class TwitapifriendshipsAction extends TwitterapiAction { function destroy($args, $apidata) { parent::handle($args); - $id = $this->trimmed('id'); + $id = $apidata['api_arg']; # We can't subscribe to a remote person, but we can unsub |