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:
mjollnir_
2004-11-24 23:50:43 +00:00
parent b9734b5d15
commit 8b34bee9c6
+1 -1
View File
@@ -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\">".