Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit bb9024d9d408807ff5d5560baf11f536e0fc75d5 1 parent a77f19b
@rwijaya rwijaya authored samhemelryk committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/lesson/pagetypes/matching.php
View
2  mod/lesson/pagetypes/matching.php
@@ -180,7 +180,7 @@ public function check_answer() {
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];
Please sign in to comment.
Something went wrong with that request. Please try again.