summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
Diffstat (limited to 'actions')
-rw-r--r--actions/showmessage.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/actions/showmessage.php b/actions/showmessage.php
index 28e359450..c171ffe0b 100644
--- a/actions/showmessage.php
+++ b/actions/showmessage.php
@@ -27,9 +27,7 @@ class ShowmessageAction extends MailboxAction {
Action::handle($args);
- $id = $this->trimmed('message');
-
- $message = Message::staticGet('message', $id);
+ $message = $this->get_message();
if (!$message) {
$this->client_error(_('No such message.'), 404);