Skip to content

Commit

Permalink
Fix usedndui option not saving
Browse files Browse the repository at this point in the history
  • Loading branch information
NicoAlexH committed Jul 31, 2023
1 parent c912e8e commit 0db1722
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions classes/local/question_matrix_store.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public function insert_matrix(object $matrix): object {
'questionid' => $matrix->questionid,
'multiple' => $matrix->multiple,
'grademethod' => $matrix->grademethod,
'use_dnd_ui' => $matrix->usedndui,
'usedndui' => $matrix->usedndui,
'shuffleanswers' => $matrix->shuffleanswers,
'renderer' => 'matrix'
];
Expand All @@ -81,7 +81,7 @@ public function update_matrix(object $matrix): object {
'questionid' => $matrix->questionid,
'multiple' => $matrix->multiple,
'grademethod' => $matrix->grademethod,
'use_dnd_ui' => $matrix->usedndui,
'usedndui' => $matrix->usedndui,
'shuffleanswers' => $matrix->shuffleanswers,
'renderer' => 'matrix'
];
Expand Down

0 comments on commit 0db1722

Please sign in to comment.