Cohort MDL-23484 typo - thanks to Daren Chandisingh for patch
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user