forked from GNUsocial/gnu-social
getting the id from the wrong place
darcs-hash:20080718042352-84dde-6326cd8c68b73ccf801b93314e3f5352ff744544.gz
This commit is contained in:
parent
3614c77d64
commit
566d9ad20d
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user