Browse Source

Fix at backup.

MOODLE_20_STABLE
Vasilis Daloukas 9 years ago
parent
commit
8ef376b60a
  1. 4
      CHANGES.md
  2. 2
      backup/moodle2/restore_game_stepslib.php

4
CHANGES.md

@ -1,3 +1,7 @@
Changes in version 3.36.31.1 (2015123101)
------------------------------------------------------------------
- Fix at backup.
Changes in version 3.36.30.1 (2015123001)
------------------------------------------------------------------
- New: Disable summarize of attempts.

2
backup/moodle2/restore_game_stepslib.php

@ -81,7 +81,7 @@ class restore_game_activity_structure_step extends restore_activity_structure_st
$data = (object)$data;
$data->id = $this->get_new_parentid('game');
if ($data->id ! 0) {
if ($data->id != 0) {
$DB->insert_record('game_export_html', $data);
}
}

Loading…
Cancel
Save