Browse Source

Fix: Millionaire - Problem when using question with question with less than two answers

MOODLE_20_STABLE
bdaloukas 12 years ago
parent
commit
1156d56bb2
  1. 2
      millionaire/play.php
  2. 4
      version.php

2
millionaire/play.php

@ -502,7 +502,7 @@ function game_millionaire_onhelp5050( $game, $id, &$millionaire, $query, $conte
$n = count( $aAnswer); $n = count( $aAnswer);
if( $n < 2){ if( $n < 2){
$wrong = $correct; $wrong = $query->correct;
}else }else
{ {
for(;;) for(;;)

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 = 2013012702; // The current module version (Date: YYYYMMDDXX) $module->version = 2013012703; // 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.13.27 (2013012702)'; $module->release = 'v.2.13.27 (2013012703)';

Loading…
Cancel
Save