From 8ef376b60a1124ee3e13c424d7467d6d0f75596d Mon Sep 17 00:00:00 2001 From: Vasilis Daloukas Date: Wed, 30 Dec 2015 18:23:22 +0200 Subject: [PATCH] Fix at backup. --- CHANGES.md | 4 ++++ backup/moodle2/restore_game_stepslib.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 9ac1356..8dbdf32 100644 --- a/CHANGES.md +++ b/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. diff --git a/backup/moodle2/restore_game_stepslib.php b/backup/moodle2/restore_game_stepslib.php index ab9e20b..03caee3 100755 --- a/backup/moodle2/restore_game_stepslib.php +++ b/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); } }