MDL-54663 forum: Correct digest link to forum preferences

This commit is contained in:
Andrew Nicols 2016-05-27 13:11:26 +08:00
parent 49619ce243
commit d1a62a5046

View File

@ -1022,7 +1022,7 @@ function forum_cron() {
$headerdata = new stdClass();
$headerdata->sitename = format_string($site->fullname, true);
$headerdata->userprefs = $CFG->wwwroot.'/user/edit.php?id='.$userid.'&course='.$site->id;
$headerdata->userprefs = $CFG->wwwroot.'/user/forum.php?id='.$userid.'&course='.$site->id;
$posttext = get_string('digestmailheader', 'forum', $headerdata)."\n\n";
$headerdata->userprefs = '<a target="_blank" href="'.$headerdata->userprefs.'">'.get_string('digestmailprefs', 'forum').'</a>';