From 8b34bee9c66f5955f1341eb9f0c263d68a7966fe Mon Sep 17 00:00:00 2001 From: mjollnir_ Date: Wed, 24 Nov 2004 23:50:43 +0000 Subject: [PATCH] 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 --- mod/dialogue/lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/dialogue/lib.php b/mod/dialogue/lib.php index 060f1565f1a..29b09551e8f 100644 --- a/mod/dialogue/lib.php +++ b/mod/dialogue/lib.php @@ -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 = "

".