diff --git a/showanswers.php b/showanswers.php index 403e730..72fc673 100755 --- a/showanswers.php +++ b/showanswers.php @@ -336,7 +336,7 @@ function game_showanswers_glossary( $game) " AND gec.categoryid = {$game->glossarycategoryid}"; $table .= ",{glossary_entries_categories} gec"; } - $sql = "SELECT id,definition,concept FROM $table WHERE $select ORDER BY definition"; + $sql = "SELECT ge.id,definition,concept FROM $table WHERE $select ORDER BY definition"; if( ($questions = $DB->get_records_sql( $sql)) === false){ return; } diff --git a/version.php b/version.php index b01010a..dc5b330 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 = 2013012701; // The current module version (Date: YYYYMMDDXX) +$module->version = 2013012702; // 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 = 'v.2.13.27 (2013012701)'; +$module->release = 'v.2.13.27 (2013012702)';