summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--privatemsg.module1
1 files changed, 1 insertions, 0 deletions
diff --git a/privatemsg.module b/privatemsg.module
index 351ddc2..0e32792 100644
--- a/privatemsg.module
+++ b/privatemsg.module
@@ -1213,6 +1213,7 @@ function privatemsg_reply($thread_id, $body = NULL, $options = array()) {
return array(t('Thread %thread_id not found, unable to answer', array('%thread_id' => $thread_id)));
}
+ $message['thread_id'] = $thread_id;
$query = _privatemsg_assemble_query('participants', $thread_id);
$participants = db_query($query['query']);