Permalink
Browse files

MDL-6386 - Regression from MDL-6462, lost stripslashes in CLOZE quest…

…ion,

thanks to Joseph Joseph Rézeau  for his attention to this issue.
Backported from MOODLE_18_STABLE
  • Loading branch information...
1 parent d88d4d9 commit d8793bf35cf0520f4346911d06b3d2413a1ef99f poltawski committed Mar 17, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 question/type/multianswer/questiontype.php
@@ -224,7 +224,7 @@ function print_question_formulation_and_controls(&$question, &$state, $cmoptions
$inputname = $nameprefix.$positionkey;
if (isset($state->responses[$positionkey])) {
- $response = $state->responses[$positionkey];
+ $response = stripslashes($state->responses[$positionkey]);
} else {
$response = null;
}

0 comments on commit d8793bf

Please sign in to comment.