-
Bug
-
Resolution: Fixed
-
Minor
-
2.2
-
None
-
Any
-
MOODLE_22_STABLE
-
MOODLE_22_STABLE
-
w52_
MDL-30934_m23_modules -
-
NOTE: v2.2 (commit: 929c26ccf1cb483149d56c1961ed8ad655437463)
-------------------------------------------------------------
If the execution reaches line 4401 of moodlelib.php:
if ($module = $DB->get_record('module', array('id'=>$cm->module))) {
an exception will be thrown after the statement since there is no table named 'module'. I believe the table name should be 'modules' instead of 'module'.