Add new line after url in journal mailout to prevent /mod/journal/view.php?id=1----- type requests
This commit is contained in:
+1
-1
@@ -154,7 +154,7 @@ function journal_cron () {
|
||||
$postsubject = "$course->shortname: Journal feedback: $entry->name";
|
||||
$posttext = "$course->shortname -> Journals -> $entry->name\n";
|
||||
$posttext .= "---------------------------------------------------------------------\n";
|
||||
$posttext .= get_string("journalmail", "journal", $journalinfo);
|
||||
$posttext .= get_string("journalmail", "journal", $journalinfo)."\n";
|
||||
$posttext .= "---------------------------------------------------------------------\n";
|
||||
if ($user->mailformat == 1) { // HTML
|
||||
$posthtml = "<p><font face=\"sans-serif\">".
|
||||
|
||||
Reference in New Issue
Block a user