Browse Source

Fix: Problem when a question containts an apostrophe

MOODLE_20_STABLE
root 12 years ago
parent
commit
93cf9f15ed
  1. 2
      locallib.php
  2. 4
      version.php

2
locallib.php

@ -1322,6 +1322,8 @@ function game_repairquestion( $s){
$s = substr( $s, 0, -6); $s = substr( $s, 0, -6);
} }
$s = str_replace( "\'", "'", $s);
return $s; return $s;
} }

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 = 2013072604; // The current module version (Date: YYYYMMDDXX) $module->version = 2013072901; // 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 = '3.7.26.4'; $module->release = '3.7.29';

Loading…
Cancel
Save