Cohort MDL-23484 typo - thanks to Daren Chandisingh for patch
authorDan Marsden <Dan@digitalclay.co.nz>
Fri, 23 Jul 2010 00:40:30 +0000 (00:40 +0000)
committerDan Marsden <Dan@digitalclay.co.nz>
Fri, 23 Jul 2010 00:40:30 +0000 (00:40 +0000)
cohort/lib.php

index 060c601..26d993d 100644 (file)
@@ -36,7 +36,7 @@ function cohort_add_cohort($cohort) {
     global $DB;
 
     if (!isset($cohort->name)) {
-        throw new coding_excetion('Missing cohort name in cohort_add_cohort().');
+        throw new coding_exception('Missing cohort name in cohort_add_cohort().');
     }
     if (!isset($cohort->idnumber)) {
         $cohort->idnumber = NULL;