Fixed bug in dialogue where plain text email notification had no break between the url and the ---- that was causing GET requests like mod/dialogue/view.php?id=foo--------- and subsequent invalid sql
This commit is contained in:
@@ -85,7 +85,7 @@ function dialogue_cron () {
|
||||
get_string("newentry", "dialogue");
|
||||
$posttext = "$course->shortname -> $strdialogues -> $dialogue->name\n";
|
||||
$posttext .= "---------------------------------------------------------------------\n";
|
||||
$posttext .= get_string("dialoguemail", "dialogue", $dialogueinfo);
|
||||
$posttext .= get_string("dialoguemail", "dialogue", $dialogueinfo)." \n";
|
||||
$posttext .= "---------------------------------------------------------------------\n";
|
||||
if ($userto->mailformat == 1) { // HTML
|
||||
$posthtml = "<p><font face=\"sans-serif\">".
|
||||
|
||||
Reference in New Issue
Block a user