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

This commit is contained in:
Dan Poltawski 2012-07-04 13:18:37 +08:00
parent 2cbdaa77ea
commit 2e616b543b

View File

@ -383,7 +383,7 @@ WHERE
* @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.'>';
}
/**