mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
Fixed failure to check for uninitialized Formatting field
which caused a notifcation in debug mode
This commit is contained in:
parent
e5a30e6a1a
commit
5ab5d67ddf
@ -43,7 +43,7 @@
|
||||
echo "<div align=right>";
|
||||
print_string("formattexttype");
|
||||
echo ": ";
|
||||
if (!$question->questiontextformat) {
|
||||
if (!isset($question->questiontextformat)) {
|
||||
$question->questiontextformat = FORMAT_MOODLE;
|
||||
}
|
||||
choose_from_menu(format_text_menu(), "questiontextformat", $question->questiontextformat, "");
|
||||
|
Loading…
x
Reference in New Issue
Block a user