Skip to content

Commit

Permalink
Added addslashes
Browse files Browse the repository at this point in the history
  • Loading branch information
gustav_delius committed Feb 6, 2006
1 parent 6f4b731 commit dc2bfe8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/quiz/questiontypes/random/questiontype.php
Expand Up @@ -162,7 +162,7 @@ function save_session_and_responses(&$question, &$state) {
if(false === $response) {
return false;
}

$response = addslashes($response);
// Prefix the answer field...
$response = "random$realqid-$response";

Expand Down

0 comments on commit dc2bfe8

Please sign in to comment.