Browse Source

Fix: Snakes compatibility with Moodle 1.6

MOODLE_20_STABLE
Vasilis Daloukas 11 years ago
parent
commit
bbee9a1b04
  1. 2
      snakes/play.php
  2. 4
      version.php

2
snakes/play.php

@ -269,7 +269,7 @@ function game_snakes_showquestion_glossary( $id, $snakes, $query, $game)
echo '<input type="hidden" name="glossaryentryid" value="'.$query->glossaryentryid."\" />\n";
$cmglossary = get_coursemodule_from_instance('glossary', $game->glossaryid, $game->course);
$contextglossary = get_context_instance(CONTEXT_MODULE, $cmglossary->id);
$contextglossary = game_get_context_module_instance( $cmglossary->id);
$s = game_filterglossary(str_replace( '\"', '"', $entry->definition), $query->glossaryentryid, $contextglossary->id, $game->course);
echo $s.'<br>';

4
version.php

@ -11,7 +11,7 @@
defined('MOODLE_INTERNAL') || die();
$module->component = 'mod_game'; // Full name of the plugin (used for diagnostics)
$module->version = 2014061802; // The current module version (Date: YYYYMMDDXX)
$module->version = 2014061803; // The current module version (Date: YYYYMMDDXX)
$module->requires = 2010112400; // Requires Moodle 2.0
$module->cron = 0; // Period for cron to check this module (secs)
$module->release = '3.18.18.2';
$module->release = '3.18.18.3';

Loading…
Cancel
Save