summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2008-09-23 01:06:37 -0400
committerEvan Prodromou <evan@controlyourself.ca>2008-09-23 01:06:37 -0400
commit44f7dc2a76fcc06afdeee8fbb243227ab8f51d90 (patch)
treeea65b8f5d37772c1a9ec4627a3364523178e0a66
parent27b7987b3ce527799a6fbe5b2b9eab0b1030eca5 (diff)
403 for a message that isn't yours.
darcs-hash:20080923050637-5ed1f-c568033b5c00ac32d9ad63b5a4d18a81c09ad525.gz
-rw-r--r--actions/showmessage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/showmessage.php b/actions/showmessage.php
index da6546ebc..08c71b5a9 100644
--- a/actions/showmessage.php
+++ b/actions/showmessage.php
@@ -42,7 +42,7 @@ class ShowmessageAction extends MailboxAction {
$cur->id != $message->from_profile &&
$cur->id != $message->to_profile)
{
- $this->client_error(_('Only the sender and recipient may read this message.'), 404);
+ $this->client_error(_('Only the sender and recipient may read this message.'), 403);
return;
}