Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 071d36c917e0eec9573004c22e4b16c5aecf5347 1 parent 0540d34
poltawski authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  question/type/multianswer/questiontype.php
View
2  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;
}
Please sign in to comment.
Something went wrong with that request. Please try again.