From 6f89852b8ad0bbdae00e997fa3f2a444dbf78c60 Mon Sep 17 00:00:00 2001 From: ubuntu Date: Thu, 26 Dec 2013 20:35:40 +0200 Subject: [PATCH] Fix: export to html of cross and millionaire --- lib.php | 2 +- version.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib.php b/lib.php index 3d0a1fd..772c6a3 100755 --- a/lib.php +++ b/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; } diff --git a/version.php b/version.php index 683e9ea..eb85f97 100755 --- a/version.php +++ b/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';