MDL-39546 Lesson module: removed duplicate to decode special characters

This commit is contained in:
Rossiani Wijaya
2013-07-02 09:36:46 +12:00
committed by Sam Hemelryk
parent a77f19bc47
commit bb9024d9d4
+1 -1
View File
@@ -180,7 +180,7 @@ class lesson_page_type_matching extends lesson_page {
return $result;
}
$value = htmlspecialchars_decode($value);
$userresponse[] = htmlspecialchars_decode($value);
$userresponse[] = $value;
// Make sure the user's answer exists in question's answer
if (array_key_exists($id, $answers)) {
$answer = $answers[$id];