From 1962821cf566a96dccb7173ee492efe270249f68 Mon Sep 17 00:00:00 2001 From: Dan Poltawski Date: Tue, 15 Jan 2013 16:36:14 +0800 Subject: [PATCH] MDL-37313 question: fix trailing whitespace --- question/format/xml/format.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/question/format/xml/format.php b/question/format/xml/format.php index 6e267e4b486..f1472afac26 100644 --- a/question/format/xml/format.php +++ b/question/format/xml/format.php @@ -519,7 +519,7 @@ class qformat_xml extends qformat_default { array('#', 'text', 0, '#'), '', true); $feedback = $this->import_text_with_files($answer, array('#', 'feedback', 0), '', $this->get_format($qo->questiontextformat)); - + if ($answertext != 'true' && $answertext != 'false') { // Old style file, assume order is true/false. $warning = true; -- 2.43.0