projects
/
project/privatemsg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
8174125
)
#481510 by sandfurz: assign thread_id in privatemsg_reply
author
Oleg Terenchuk
Fri, 5 Jun 2009 20:10:36 +0000 (20:10 +0000)
committer
Oleg Terenchuk
Fri, 5 Jun 2009 20:10:36 +0000 (20:10 +0000)
privatemsg.module
patch
|
blob
|
blame
|
history
diff --git
a/privatemsg.module
b/privatemsg.module
index
351ddc2
..
0e32792
100644
(file)
--- 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']);