From f87ef9b72b8e054296a3fd37c74f07af5f6a6c38 Mon Sep 17 00:00:00 2001 From: Adrian Lang Date: Mon, 9 Mar 2009 09:45:40 +0100 Subject: Fixes #1277: Typo in variable name in actions/twitapidirect_messages.php. --- actions/twitapidirect_messages.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actions/twitapidirect_messages.php') diff --git a/actions/twitapidirect_messages.php b/actions/twitapidirect_messages.php index db55e8cd0..ce98bf6ec 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); -- cgit v1.2.3-54-g00ecf