I was adding the slashes twice

This commit is contained in:
gustav_delius
2006-02-06 23:15:59 +00:00
parent f5f270a188
commit 27aa2243ea
@@ -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";