Skip to content
Permalink
Browse files

MDL-54663 forum: Correct digest link to forum preferences

  • Loading branch information...
andrewnicols committed May 27, 2016
1 parent 49619ce commit d1a62a5046a1190ed64fa0cb44e4a174db632041
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/forum/lib.php
@@ -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>';

0 comments on commit d1a62a5

Please sign in to comment.
You can’t perform that action at this time.