Cohort MDL-23484 typo - thanks to Daren Chandisingh for patch

This commit is contained in:
Dan Marsden
2010-07-23 00:40:30 +00:00
parent 40a4633861
commit 13f6694500
+1 -1
View 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;