diff --git a/check.php b/check.php index 246f1df..ddc6349 100644 --- a/check.php +++ b/check.php @@ -292,7 +292,7 @@ function game_check_common_problems_crossword_cryptex($game, &$warnings) { global $CFG, $DB; - if ($game->param1 < 10) { + if (($game->param1 < 10) && ($game->param1 > 0)) { $warnings[] = get_string( 'common_problems_crossword_param1', 'game').' (='.$game->param1.')'; } } diff --git a/version.php b/version.php index 61ad2b8..9ea917b 100644 --- a/version.php +++ b/version.php @@ -35,10 +35,10 @@ if (!isset( $plugin)) { } $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->cron = 0; // Period for cron to check this module (secs). -$plugin->release = '2017-08-06'; +$plugin->release = '2017-08-11'; $plugin->maturity = MATURITY_STABLE; if ($useplugin != 2) {