Skip to content

Commit

Permalink
fix to issue where optionsaftertext setting was not being saved
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusgreen committed May 13, 2018
1 parent fb791ee commit d000c1e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions questiontype.php
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ public function update_question_gapfill($question, $options, $context) {
$options->noduplicates = $question->noduplicates;
$options->disableregex = $question->disableregex;
$options->fixedgapsize = $question->fixedgapsize;
$options->optionsaftertext = $question->optionsaftertext;
$options->letterhints = $question->letterhints;
$options = $this->save_combined_feedback_helper($options, $question, $context, true);
$DB->update_record('question_gapfill', $options);
Expand Down
9 changes: 6 additions & 3 deletions releasenotes.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
### Version 1.972 of the Moodle Gapfill question type May 2018
Fixed a bug where correct answers were shown even thought it was turned off in the quiz settings checkbox.
Thanks to Matthias Giger and contributors to the Moodle German language for reporting this.
Additional PHPDocs, code standards compliance and confirmation that it works with Moodle 3.5
Thanks to Matthias Giger and contributors to the Moodle German language for reporting this. Fixed
a bug introduced in the last release whereby the value of optionaftertext was not being saved. Thanks
to Elton LaClare for reporting that. Additional PHPDocs, code standards compliance and confirmation that
it works with Moodle 3.5.

Implemented privacy API for GDPR compliance
Implemented privacy API for GDPR compliance, see discussion here
https://moodle.org/mod/forum/discuss.php?d=365857

### Version 1.971 of the Moodle Gapfill question type Feb 2018
Bug fix for issue where dragdrop did not work on iOS. Improvements in code standards compliance.
Expand Down

0 comments on commit d000c1e

Please sign in to comment.