From: pichetp Date: Thu, 19 Jun 2008 01:43:52 +0000 (+0000) Subject: closing properly questions line 459-61 when some errors X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=ea632e8846c6377c633a736bb929de2c12defd20;p=moodle.git closing properly questions line 459-61 when some errors --- 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).'
'; } } }