Permalink
Browse files

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

  • Loading branch information...
danpoltawski committed Jul 4, 2012
1 parent 2cbdaa7 commit 2e616b543ba7288442934c457990d67094731e6d
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 2e616b5

Please sign in to comment.