diff --git a/mod/workshop/form/accumulative/lib.php b/mod/workshop/form/accumulative/lib.php index 75917e05b87..95ef840ed90 100644 --- a/mod/workshop/form/accumulative/lib.php +++ b/mod/workshop/form/accumulative/lib.php @@ -245,7 +245,7 @@ class workshop_accumulative_strategy implements workshop_strategy { global $DB; if (!isset($data->nodims)) { - throw new coding_expection('You did not send me the number of assessment dimensions to process'); + throw new coding_exception('You did not send me the number of assessment dimensions to process'); } for ($i = 0; $i < $data->nodims; $i++) { $grade = new stdclass(); diff --git a/mod/workshop/form/comments/lib.php b/mod/workshop/form/comments/lib.php index 7c83c169172..d5aa15f2a6a 100644 --- a/mod/workshop/form/comments/lib.php +++ b/mod/workshop/form/comments/lib.php @@ -244,7 +244,7 @@ class workshop_comments_strategy implements workshop_strategy { global $DB; if (!isset($data->nodims)) { - throw new coding_expection('You did not send me the number of assessment dimensions to process'); + throw new coding_exception('You did not send me the number of assessment dimensions to process'); } for ($i = 0; $i < $data->nodims; $i++) { $grade = new stdclass(); diff --git a/mod/workshop/form/numerrors/lib.php b/mod/workshop/form/numerrors/lib.php index 376cc638761..6ffc8d23d91 100644 --- a/mod/workshop/form/numerrors/lib.php +++ b/mod/workshop/form/numerrors/lib.php @@ -280,7 +280,7 @@ class workshop_numerrors_strategy implements workshop_strategy { global $DB; if (!isset($data->nodims)) { - throw new coding_expection('You did not send me the number of assessment dimensions to process'); + throw new coding_exception('You did not send me the number of assessment dimensions to process'); } for ($i = 0; $i < $data->nodims; $i++) { $grade = new stdclass();