Browse Source

Fix: HiddenPicture show answers when using a quiz

MOODLE_20_STABLE
ubuntu 12 years ago
parent
commit
c9fa062db8
  1. 2
      showanswers.php
  2. 4
      version.php

2
showanswers.php

@ -186,7 +186,7 @@ function game_showanswers_quiz( $game)
$select = "quiz='$game->quizid' ". $select = "quiz='$game->quizid' ".
' AND qqi.question=q.id'. ' AND qqi.question=q.id'.
' AND q.hidden=0'. ' AND q.hidden=0'.
showanswers_appendselect( $game); game_showanswers_appendselect( $game);
$table = '{question} q,{quiz_question_instances} qqi'; $table = '{question} q,{quiz_question_instances} qqi';
game_showanswers_question_select( $game, $table, $select, 'q.*', 'category,questiontext', false, $game->course); game_showanswers_question_select( $game, $table, $select, 'q.*', 'category,questiontext', false, $game->course);

4
version.php

@ -11,7 +11,7 @@
defined('MOODLE_INTERNAL') || die(); defined('MOODLE_INTERNAL') || die();
$module->component = 'mod_game'; // Full name of the plugin (used for diagnostics) $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->requires = 2010112400; // Requires Moodle 2.0
$module->cron = 0; // Period for cron to check this module (secs) $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)';

Loading…
Cancel
Save