diff --git a/millionaire/play.php b/millionaire/play.php index 24569af..ed8cccc 100755 --- a/millionaire/play.php +++ b/millionaire/play.php @@ -502,7 +502,7 @@ function game_millionaire_onhelp5050( $game, $id, &$millionaire, $query, $conte $n = count( $aAnswer); if( $n < 2){ - $wrong = $correct; + $wrong = $query->correct; }else { for(;;) diff --git a/version.php b/version.php index dc5b330..9d9f79c 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 = 2013012702; // The current module version (Date: YYYYMMDDXX) +$module->version = 2013012703; // 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 (2013012702)'; +$module->release = 'v.2.13.27 (2013012703)';