Fixes #1277: Typo in variable name in actions/twitapidirect_messages.php.

This commit is contained in:
Adrian Lang 2009-03-09 09:45:40 +01:00
parent fbe794e44d
commit f87ef9b72b

View File

@ -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);