mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Merge branch 'MDL-35693' of git://github.com/timhunt/moodle
This commit is contained in:
commit
c07189ebe8
@ -117,6 +117,7 @@ class question_engine_data_mapper {
|
||||
$record->responsesummary = $qa->get_response_summary();
|
||||
$record->timemodified = time();
|
||||
$record->id = $this->db->insert_record('question_attempts', $record);
|
||||
$qa->set_database_id($record->id);
|
||||
|
||||
foreach ($qa->get_step_iterator() as $seq => $step) {
|
||||
$this->insert_question_attempt_step($step, $record->id, $seq, $context);
|
||||
|
Loading…
x
Reference in New Issue
Block a user