From ea632e8846c6377c633a736bb929de2c12defd20 Mon Sep 17 00:00:00 2001 From: pichetp Date: Thu, 19 Jun 2008 01:43:52 +0000 Subject: [PATCH] closing properly questions line 459-61 when some errors --- question/type/multianswer/questiontype.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/question/type/multianswer/questiontype.php b/question/type/multianswer/questiontype.php index d02ba8a7fa..1f4a1ba407 100644 --- a/question/type/multianswer/questiontype.php +++ b/question/type/multianswer/questiontype.php @@ -456,9 +456,9 @@ class embedded_cloze_qtype extends default_questiontype { } else { if(! isset($question->options->questions[$positionkey])){ - echo $regs[0]; + echo $regs[0].""; }else { - echo '
'.get_string('questionnotfound','qtype_multianswer',$positionkey).'
'; + echo '
'.get_string('questionnotfound','qtype_multianswer',$positionkey).'
'; } } } -- 2.39.5