From f19b922da99dfacb369289835e863eba9f2a396e Mon Sep 17 00:00:00 2001 From: bdaloukas Date: Thu, 6 Jul 2017 17:22:02 +0300 Subject: [PATCH] Fix problems on backup/restore --- CHANGES.md | 2 +- cross/cross_class.php | 2 +- version.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index c8c144f..de2adb2 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,4 +1,4 @@ -Changes in version 2017-07-06 (2017070506) +Changes in version 2017-07-06 (2017070606) - New: Global glossaries Changes in version 2017-07-05 (2017070502) diff --git a/cross/cross_class.php b/cross/cross_class.php index 2854486..9fb3e13 100644 --- a/cross/cross_class.php +++ b/cross/cross_class.php @@ -792,7 +792,7 @@ class Cross $legendh = array(); if ($game->glossaryid) { - $sql = "SELECT id,course FROM {$CFG->prefix}glossary WHERE id={$game->glossaryid}"; + $sql = "SELECT id,course FROM {$CFG->prefix}glossary WHERE id={$game->glossaryid}"; $glossary = $DB->get_record_sql( $sql); $cmglossary = get_coursemodule_from_instance('glossary', $game->glossaryid, $glossary->course); $contextglossary = game_get_context_module_instance( $cmglossary->id); diff --git a/version.php b/version.php index 92f4ec1..7a660da 100644 --- a/version.php +++ b/version.php @@ -35,7 +35,7 @@ if (!isset( $plugin)) { } $plugin->component = 'mod_game'; // Full name of the plugin (used for diagnostics). -$plugin->version = 2017070605; // The current module version (Date: YYYYMMDDXX). +$plugin->version = 2017070606; // The current module version (Date: YYYYMMDDXX). $plugin->requires = 2010112400; // Requires Moodle 2.0. $plugin->cron = 0; // Period for cron to check this module (secs). $plugin->release = '2017-07-06';