From 35bf8d7eaf798a170ff3fab76ae7f0f66ea745d1 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 17 Sep 2008 22:30:32 -0400 Subject: [PATCH] return correct data structure for messages in showmessage darcs-hash:20080918023032-5ed1f-e8789b391eb88a181bb6232a5e5f199b0ccb2098.gz --- actions/showmessage.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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) { -- 2.39.5