diff --git a/mod/choice/view.php b/mod/choice/view.php index 63063e5fa49..e1409eee3fd 100644 --- a/mod/choice/view.php +++ b/mod/choice/view.php @@ -151,11 +151,11 @@ echo ""; echo "limitanswers && ($countanswers >= $maxans) && !($answerchecked[$optionid]) ) { - echo "disabled"; + echo ' disabled="disabled"'; } echo " />"; if ($choice->limitanswers && ($countanswers >= $maxans) ) { - echo format_text($text."
".get_string('full', 'choice').""); + echo format_text($text."
".get_string('full', 'choice').""); } else { echo format_text($text);