Browse Source

Message with common problems

MOODLE_20_STABLE
bdaloukas 8 years ago
parent
commit
b8c2e4fa78
  1. 9
      mod_form.php
  2. 2
      version.php

9
mod_form.php

@ -407,15 +407,18 @@ class mod_game_mod_form extends moodleform_mod {
global $CFG, $DB;
if (count( $a) == 0) {
$select = 'glossaryid=-1';
$select = 'gc.glossaryid = -1';
} else if (count($a) == 1) {
$select = 'glossaryid='.reset( $a);
foreach ($a as $id => $name) {
$select = 'gc.glossaryid = '.$id;
break;
}
} else {
$select = '';
foreach ($a as $id => $name) {
$select .= ','.$id;
}
$select = 'g.id IN ('.substr( $select, 1).')';
$select = 'gc.glossaryid IN ('.substr( $select, 1).')';
}
$a = array();

2
version.php

@ -35,7 +35,7 @@ if (!isset( $plugin)) {
}
$plugin->component = 'mod_game'; // Full name of the plugin (used for diagnostics).
$plugin->version = 2017070301; // The current module version (Date: YYYYMMDDXX).
$plugin->version = 2017070302; // 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-07-03';

Loading…
Cancel
Save