Skip to content

Commit e0e7a1b

Browse files
Update workers/create-course.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent fc74ff6 commit e0e7a1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

workers/create-course.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
function cn2org($cn) {
1111
$matches = array();
1212
preg_match("/.*_([^_]+_[^_]+)$/", $cn, $matches);
13-
assert(count($matches) == 2, "failed to extract org from cn");
13+
assert(count($matches) == 2, "failed to extract org from cn: '$cn'");
1414
return $matches[1];
1515
}
1616

0 commit comments

Comments
 (0)