From: Evan Prodromou Date: Thu, 18 Sep 2008 02:30:32 +0000 (-0400) Subject: return correct data structure for messages in showmessage X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=35bf8d7eaf798a170ff3fab76ae7f0f66ea745d1;p=quix0rs-gnu-social.git return correct data structure for messages in showmessage darcs-hash:20080918023032-5ed1f-e8789b391eb88a181bb6232a5e5f199b0ccb2098.gz --- diff --git a/actions/showmessage.php b/actions/showmessage.php index 184060aa91..05814a4a56 100644 --- a/actions/showmessage.php +++ b/actions/showmessage.php @@ -76,7 +76,10 @@ class ShowmessageAction extends MailboxAction { } function get_messages($user, $page) { - return $this->get_message(); + $message = new Message(); + $message->id = $this->trimmed('message'); + $message->fetch(); + return $message; } function get_message_profile($message) {