diff --git a/classes/Message.php b/classes/Message.php index b713737e8b..d44c95464b 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);