From c9fa062db854f58c4e46ad795ee909b27673f529 Mon Sep 17 00:00:00 2001 From: ubuntu Date: Fri, 28 Dec 2012 00:15:06 +0200 Subject: [PATCH] Fix: HiddenPicture show answers when using a quiz --- showanswers.php | 2 +- version.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/showanswers.php b/showanswers.php index c5949e1..403e730 100755 --- a/showanswers.php +++ b/showanswers.php @@ -186,7 +186,7 @@ function game_showanswers_quiz( $game) $select = "quiz='$game->quizid' ". ' AND qqi.question=q.id'. ' AND q.hidden=0'. - showanswers_appendselect( $game); + game_showanswers_appendselect( $game); $table = '{question} q,{quiz_question_instances} qqi'; game_showanswers_question_select( $game, $table, $select, 'q.*', 'category,questiontext', false, $game->course); diff --git a/version.php b/version.php index 13bc9ed..a975f0b 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 = 2012122701; // The current module version (Date: YYYYMMDDXX) +$module->version = 2012122801; // 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.12.27 (2012122701)'; +$module->release = 'v.2.12.28 (2012122801)';