summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
Diffstat (limited to 'actions')
-rw-r--r--actions/showmessage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/showmessage.php b/actions/showmessage.php
index 08c71b5a9..ce4a1f372 100644
--- a/actions/showmessage.php
+++ b/actions/showmessage.php
@@ -51,7 +51,7 @@ class ShowmessageAction extends MailboxAction {
function get_message() {
$id = $this->trimmed('message');
- $message = Message::staticGet('message', $id);
+ $message = Message::staticGet('id', $id);
return $message;
}