From c99e2d2c669757da8d89119403fd86e9477ca154 Mon Sep 17 00:00:00 2001 From: mindforge Date: Fri, 9 Sep 2005 16:47:33 +0000 Subject: [PATCH] Changed use of htmlspecialchars() to s(). --- mod/quiz/questiontypes/shortanswer/questiontype.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/quiz/questiontypes/shortanswer/questiontype.php b/mod/quiz/questiontypes/shortanswer/questiontype.php index 442c5441610..60b7ace4aef 100644 --- a/mod/quiz/questiontypes/shortanswer/questiontype.php +++ b/mod/quiz/questiontypes/shortanswer/questiontype.php @@ -124,7 +124,7 @@ class quiz_shortanswer_qtype extends quiz_default_questiontype { $stranswer = get_string("answer", "quiz"); if (isset($state->responses[''])) { - $value = ' value="'.htmlSpecialChars($state->responses['']).'" '; + $value = ' value="'.s($state->responses['']).'" '; } else { $value = ' value="" '; }