summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--actions/showmessage.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/actions/showmessage.php b/actions/showmessage.php
index 184060aa9..05814a4a5 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) {