NOMDL Fixed incorrect throwing of exceptions - missing 'new' or unknown exception class

This commit is contained in:
David Mudrak
2010-07-18 12:30:49 +00:00
parent b8bb45b001
commit 2d3522ae1e
10 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -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();