MDL-6386 - Regression from MDL-6462, lost stripslashes in CLOZE question,

thanks to Joseph Joseph Rézeau  for his attention to this issue.
Backported from MOODLE_18_STABLE
This commit is contained in:
poltawski
2007-03-17 22:58:30 +00:00
parent d88d4d9309
commit d8793bf35c
+1 -1
View File
@@ -224,7 +224,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;
}