Permalink
Browse files

MDL-34153 mod_forum: create RFC-2822 compliant message-ids

  • Loading branch information...
1 parent f2867a8 commit 476f72e9bf231d507362ead6459d7b3c83d8af20 @danpoltawski danpoltawski committed Jul 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/forum/lib.php
View
@@ -383,7 +383,7 @@ function forum_get_completion_state($course,$cm,$userid,$type) {
* @return string A unique message-id
*/
function forum_get_email_message_id($postid, $usertoid, $hostname) {
- return '<'.hash('sha256',$postid.'to'.$usertoid.'@'.$hostname).'>';
+ return '<'.hash('sha256',$postid.'to'.$usertoid).'@'.$hostname.'>';
}
/**

0 comments on commit 476f72e

Please sign in to comment.