return correct data structure for messages in showmessage

darcs-hash:20080918023032-5ed1f-e8789b391eb88a181bb6232a5e5f199b0ccb2098.gz
This commit is contained in:
Evan Prodromou 2008-09-17 22:30:32 -04:00
parent ec173836b9
commit 35bf8d7eaf
1 changed files with 4 additions and 1 deletions

View File

@ -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) {