summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--classes/Message.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/Message.php b/classes/Message.php
index b713737e8..d44c95464 100644
--- a/classes/Message.php
+++ b/classes/Message.php
@@ -53,7 +53,7 @@ class Message extends DB_DataObject
}
$orig = clone($msg);
- $msg->uri = common_local_url('showmessage', array('message' => $message->id));
+ $msg->uri = common_local_url('showmessage', array('message' => $msg->id));
$result = $msg->update($orig);