Skip to content
Browse files

Add new line after url in journal mailout to prevent /mod/journal/vie…

…w.php?id=1----- type requests
  • Loading branch information...
1 parent 930c08c commit a331476e418aaae5a6b9a7c1a4f47ffb6e48097e mjollnir_ committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/journal/lib.php
View
2 mod/journal/lib.php
@@ -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\">".

0 comments on commit a331476

Please sign in to comment.
Something went wrong with that request. Please try again.