From: Adrian Lang Date: Mon, 9 Mar 2009 08:45:40 +0000 (+0100) Subject: Fixes #1277: Typo in variable name in actions/twitapidirect_messages.php. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f87ef9b72b8e054296a3fd37c74f07af5f6a6c38;p=quix0rs-gnu-social.git Fixes #1277: Typo in variable name in actions/twitapidirect_messages.php. --- diff --git a/actions/twitapidirect_messages.php b/actions/twitapidirect_messages.php index db55e8cd02..ce98bf6ec2 100644 --- a/actions/twitapidirect_messages.php +++ b/actions/twitapidirect_messages.php @@ -190,7 +190,7 @@ class Twitapidirect_messagesAction extends TwitterapiAction $this->init_document('xml'); $this->elementStart('direct-messages', array('type' => 'array')); - if (is_array($messages)) { + if (is_array($message)) { foreach ($message as $m) { $twitter_dm = $this->twitter_dmsg_array($m); $this->show_twitter_xml_dmsg($twitter_dm);