Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
MDL-39546 Lesson module: removed duplicate to decode special characters
  • Loading branch information
Rossiani Wijaya authored and Sam Hemelryk committed Jul 1, 2013
1 parent a77f19b commit bb9024d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/lesson/pagetypes/matching.php
Expand Up @@ -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];
Expand Down

0 comments on commit bb9024d

Please sign in to comment.