]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fixes #1277: Typo in variable name in actions/twitapidirect_messages.php.
authorAdrian Lang <mail@adrianlang.de>
Mon, 9 Mar 2009 08:45:40 +0000 (09:45 +0100)
committerAdrian Lang <mail@adrianlang.de>
Mon, 9 Mar 2009 08:45:40 +0000 (09:45 +0100)
actions/twitapidirect_messages.php

index db55e8cd0220de6a01c68763af20d7ad5f45cb49..ce98bf6ec2fc7c37d3f842d067f72b7dce33dec1 100644 (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);