NOMDL Fixed incorrect throwing of exceptions - missing 'new' or unknown exception class
This commit is contained in:
@@ -244,7 +244,7 @@ class workshop_comments_strategy implements workshop_strategy {
|
||||
global $DB;
|
||||
|
||||
if (!isset($data->nodims)) {
|
||||
throw coding_expection('You did not send me the number of assessment dimensions to process');
|
||||
throw new coding_expection('You did not send me the number of assessment dimensions to process');
|
||||
}
|
||||
for ($i = 0; $i < $data->nodims; $i++) {
|
||||
$grade = new stdclass();
|
||||
|
||||
Reference in New Issue
Block a user