Skip to content

Commit

Permalink
Version 7.2.2 Check answer type
Browse files Browse the repository at this point in the history
  • Loading branch information
jcopado committed Jun 15, 2023
1 parent 39b8b44 commit c42d059
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ composer du
## Version 7.2.2 (2023.06.15)
- Feedback is properly rendered in Test run and Test results when Plots are present in the question or specific feedback fields
- Variables in Feedback are now properly rendered in Test run and Test results
- Check answer type related issues are now solved.
## Version 7.2.1 (2023.06.06)
- Deployed Seeds no longer duplicates after question saving
## Version 7.2.0 (2023.05.28)
Expand Down
3 changes: 2 additions & 1 deletion classes/class.assStackQuestionDB.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,8 @@ public static function _readInputs($question_id, bool $just_id = false): array
$inputs[$input_name]['allow_words'] = $row['allow_words'];
$inputs[$input_name]['forbid_float'] = (bool)$row['forbid_float'];
$inputs[$input_name]['require_lowest_terms'] = (bool)$row['require_lowest_terms'];
$inputs[$input_name]['check_answer_type'] = (bool)$row['check_answer_type'];
//Ensure check answer type is false to avoid wrong error messages
$inputs[$input_name]['check_answer_type'] = false;
$inputs[$input_name]['must_verify'] = (bool)$row['must_verify'];
$inputs[$input_name]['show_validation'] = $row['show_validation'];
$inputs[$input_name]['options'] = $row['options'];
Expand Down

0 comments on commit c42d059

Please sign in to comment.