Skip to content

Commit

Permalink
Cohort MDL-23484 typo - thanks to Daren Chandisingh for patch
Browse files Browse the repository at this point in the history
  • Loading branch information
danmarsden committed Jul 23, 2010
1 parent 40a4633 commit 13f6694
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cohort/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 13f6694

Please sign in to comment.