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

This commit is contained in:
Rossiani Wijaya
2013-07-02 09:37:12 +12:00
committed by Sam Hemelryk
parent f6b6cef8c0
commit a4a2ddfbf1
+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];