summaryrefslogtreecommitdiff
path: root/actions/twitapifriendships.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/twitapifriendships.php')
-rw-r--r--actions/twitapifriendships.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/twitapifriendships.php b/actions/twitapifriendships.php
index ba4afe441..458ff48a5 100644
--- a/actions/twitapifriendships.php
+++ b/actions/twitapifriendships.php
@@ -142,7 +142,7 @@ class TwitapifriendshipsAction extends TwitterapiAction
switch ($apidata['content-type']) {
case 'xml':
$this->init_document('xml');
- common_element('friends', null, $result);
+ $this->element('friends', null, $result);
$this->end_document('xml');
break;
case 'json':