summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2008-09-17 22:30:32 -0400
committerEvan Prodromou <evan@controlyourself.ca>2008-09-17 22:30:32 -0400
commit35bf8d7eaf798a170ff3fab76ae7f0f66ea745d1 (patch)
tree4cfb7ac5298f4d8c49da575aa32c384cb12846f9
parentec173836b9fe244f1f104a6f71898958477d84b5 (diff)
return correct data structure for messages in showmessage
darcs-hash:20080918023032-5ed1f-e8789b391eb88a181bb6232a5e5f199b0ccb2098.gz
-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) {