diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2008-09-17 22:55:43 -0400 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2008-09-17 22:55:43 -0400 |
commit | ff5f0a15a693e6e1a498090d880b42c7caa9f0bc (patch) | |
tree | 7ab0f7a9f0bc08579fd798d98c31e9e90ada2cde | |
parent | 5ff1107fc1560e8d65c45b955f744744f7511778 (diff) |
more id -> message shenanigans
darcs-hash:20080918025543-5ed1f-c017a351fce611516b18d64724ee2d7977a0bd47.gz
-rw-r--r-- | actions/showmessage.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/actions/showmessage.php b/actions/showmessage.php index 0fef90e79..98daf1722 100644 --- a/actions/showmessage.php +++ b/actions/showmessage.php @@ -27,9 +27,9 @@ class ShowmessageAction extends MailboxAction { Action::handle($args); - $id = $this->trimmed('id'); + $id = $this->trimmed('message'); - $message = Message::staticGet('id', $id); + $message = Message::staticGet('message', $id); if (!$message) { $this->client_error(_('No such message.'), 404); @@ -50,8 +50,8 @@ class ShowmessageAction extends MailboxAction { } function get_message() { - $id = $this->trimmed('id'); - $message = Message::staticGet('id', $id); + $id = $this->trimmed('message'); + $message = Message::staticGet('message', $id); return $message; } @@ -74,7 +74,7 @@ class ShowmessageAction extends MailboxAction { } return $title; } - + function get_messages($user, $page) { $message = new Message(); $message->id = $this->trimmed('message'); |