Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed failure to check for uninitialized Formatting field

which caused a notifcation in debug mode
  • Loading branch information...
commit 5ab5d67ddf1e0529b3c295c28daf71f20acb88e1 1 parent e5a30e6
thepurpleblob authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/quiz/shortanswer.html
View
2  mod/quiz/shortanswer.html
@@ -43,7 +43,7 @@
echo "<div align=right>";
print_string("formattexttype");
echo ":&nbsp;";
- if (!$question->questiontextformat) {
+ if (!isset($question->questiontextformat)) {
$question->questiontextformat = FORMAT_MOODLE;
}
choose_from_menu(format_text_menu(), "questiontextformat", $question->questiontextformat, "");
Please sign in to comment.
Something went wrong with that request. Please try again.