Permalink
Browse files

Fixed failure to check for uninitialized Formatting field

which caused a notifcation in debug mode
  • Loading branch information...
1 parent e5a30e6 commit 5ab5d67ddf1e0529b3c295c28daf71f20acb88e1 thepurpleblob committed Jun 17, 2004
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, "");

0 comments on commit 5ab5d67

Please sign in to comment.