Browse Source

Fix: check params of crossword/cryptex

MOODLE_20_STABLE
bdaloukas 7 years ago
parent
commit
a90db32a79
  1. 2
      check.php
  2. 4
      version.php

2
check.php

@ -292,7 +292,7 @@ function game_check_common_problems_crossword_cryptex($game, &$warnings) {
global $CFG, $DB; global $CFG, $DB;
if ($game->param1 < 10) { if (($game->param1 < 10) && ($game->param1 > 0)) {
$warnings[] = get_string( 'common_problems_crossword_param1', 'game').' (='.$game->param1.')'; $warnings[] = get_string( 'common_problems_crossword_param1', 'game').' (='.$game->param1.')';
} }
} }

4
version.php

@ -35,10 +35,10 @@ if (!isset( $plugin)) {
} }
$plugin->component = 'mod_game'; // Full name of the plugin (used for diagnostics). $plugin->component = 'mod_game'; // Full name of the plugin (used for diagnostics).
$plugin->version = 2017080603; // The current module version (Date: YYYYMMDDXX). $plugin->version = 2017081101; // The current module version (Date: YYYYMMDDXX).
$plugin->requires = 2010112400; // Requires Moodle 2.0. $plugin->requires = 2010112400; // Requires Moodle 2.0.
$plugin->cron = 0; // Period for cron to check this module (secs). $plugin->cron = 0; // Period for cron to check this module (secs).
$plugin->release = '2017-08-06'; $plugin->release = '2017-08-11';
$plugin->maturity = MATURITY_STABLE; $plugin->maturity = MATURITY_STABLE;
if ($useplugin != 2) { if ($useplugin != 2) {

Loading…
Cancel
Save