From 8a08a041f4b6d751df97e964b72f685b1f8df714 Mon Sep 17 00:00:00 2001 From: poltawski Date: Sat, 17 Mar 2007 22:53:45 +0000 Subject: [PATCH] =?UTF-8?q?MDL-6386=20-=20Regression=20from=20MDL-6462,=20?= =?UTF-8?q?lost=20stripslashes=20in=20CLOZE=20question,=20thanks=20to=20Jo?= =?UTF-8?q?seph=20Joseph=20R=C3=83=C2=A9zeau=20=20for=20his=20attention=20?= =?UTF-8?q?to=20this=20issue?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- question/type/multianswer/questiontype.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/question/type/multianswer/questiontype.php b/question/type/multianswer/questiontype.php index e9ed1b57767..2fc199a4d8e 100644 --- a/question/type/multianswer/questiontype.php +++ b/question/type/multianswer/questiontype.php @@ -232,7 +232,7 @@ class embedded_cloze_qtype extends default_questiontype { $inputname = $nameprefix.$positionkey; if (isset($state->responses[$positionkey])) { - $response = $state->responses[$positionkey]; + $response = stripslashes($state->responses[$positionkey]); } else { $response = null; }