Added addslashes

This commit is contained in:
gustav_delius
2006-02-06 21:29:20 +00:00
parent 6f4b73112d
commit dc2bfe815d
@@ -162,7 +162,7 @@ class quiz_random_qtype extends quiz_default_questiontype {
if(false === $response) {
return false;
}
$response = addslashes($response);
// Prefix the answer field...
$response = "random$realqid-$response";