From a4a2ddfbf10378c05282b89e4c4f044fdd06a5a8 Mon Sep 17 00:00:00 2001 From: Rossiani Wijaya Date: Tue, 28 May 2013 12:25:29 +0800 Subject: [PATCH] MDL-39546 Lesson module: removed duplicate to decode special characters --- mod/lesson/pagetypes/matching.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/lesson/pagetypes/matching.php b/mod/lesson/pagetypes/matching.php index 3bd45b0e6b3..5ad5af0da5b 100644 --- a/mod/lesson/pagetypes/matching.php +++ b/mod/lesson/pagetypes/matching.php @@ -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];