Browse Source

Fix: export to html of cross and millionaire

MOODLE_20_STABLE
ubuntu 11 years ago
parent
commit
6f89852b8a
  1. 2
      lib.php
  2. 4
      version.php

2
lib.php

@ -913,7 +913,7 @@ function game_extend_settings_navigation($settings, $gamenode) {
case 'snakes':
case 'cross':
case 'millionaire':
$url = new moodle_url('/mod/game/export.php', array( 'id' => $game->id,'courseid'=>$courseid, 'target' => 'html'));
$url = new moodle_url('/mod/game/export.php', array( 'q' => $game->id,'courseid'=>$courseid, 'target' => 'html'));
$gamenode->add(get_string('export_to_html', 'game'), $url, navigation_node::TYPE_SETTING, null, null, new pix_icon('i/item', ''));
break;
}

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 = 2013122504; // The current module version (Date: YYYYMMDDXX)
$module->version = 2013122601; // 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.12.25.4';
$module->release = '3.12.26.1';

Loading…
Cancel
Save