From 7472315e3c6f06768e458f185b9f9967e5518228 Mon Sep 17 00:00:00 2001 From: mjollnir_ Date: Wed, 24 Nov 2004 23:51:04 +0000 Subject: [PATCH] Merged from MOODLE_14_STABLE: 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 efc9921523..83a047d5a3 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 = "

". -- 2.39.5