Skip to content
Snippets Groups Projects
Commit a44e2297 authored by Devin Zuczek's avatar Devin Zuczek Committed by Devin Zuczek
Browse files

Issue #2410329 by djdevin: Long/short answers not visible to scorer

parent 12ac6684
No related branches found
No related tags found
No related merge requests found
......@@ -970,6 +970,7 @@ function quiz_update_7511() {
$d = unserialize($row->review_options);
$d['end']['quiz_question_view_full'] = 'quiz_question_view_full';
$d['end']['choice'] = 'choice';
$d['end']['attempt'] = 'attempt';
$row->review_options = $d;
drupal_write_record('quiz_node_properties', $row, array('qnp_id'));
}
......
......@@ -847,7 +847,14 @@ function _quiz_get_node_defaults() {
'quiz_open' => 0,
'randomization' => 0,
'repeat_until_correct' => 0,
'review_options' => array('question' => array(), 'end' => array('quiz_question_view_full' => 'quiz_question_view_full', 'choice' => 'choice')),
'review_options' => array(
'question' => array(),
'end' => array(
'attempt' => 'attempt',
'choice' => 'choice',
'quiz_question_view_full' => 'quiz_question_view_full',
),
),
'show_attempt_stats' => 1,
'show_passed' => 1,
'summary_default' => '',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment