# This patch file was generated by NetBeans IDE # This patch can be applied using context Tools: Apply Diff Patch action on respective folder. # It uses platform neutral UTF-8 encoding. # Above lines and this line are ignored by the patching process. Index: moodle/mod/forum/lib.php --- moodle/mod/forum/lib.php Base (1.954.2.4) +++ moodle/mod/forum/lib.php Locally Modified (Based On 1.954.2.4) @@ -926,7 +926,7 @@ $attachment = $attachname=''; $usetrueaddress = true; //directly email forum digests rather than sending them via messaging - $mailresult = email_to_user($userto, $site->shortname, $postsubject, $posttext, $posthtml, $attachment, $attachname, $usetrueaddress, $CFG->forum_replytouser); + $mailresult = email_to_user($userto, $userfrom, $postsubject, $posttext, $posthtml, $attachment, $attachname, $usetrueaddress, $CFG->forum_replytouser); if (!$mailresult) { mtrace("ERROR!");