We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 994c190 + a090895 commit 3732223Copy full SHA for 3732223
lib/WeBWorK/ContentGenerator/CourseAdmin.pm
@@ -654,7 +654,7 @@ sub add_course_validate {
654
push @errors, $r->maketext("A course with ID [_1] already exists.", $add_courseID);
655
}
656
if ( length($add_courseID) > $ce->{maxCourseIdLength} ) {
657
- @errors, $r->maketext("Course ID cannot exceed [_1] characters.", $ce->{maxCourseIdLength});
+ push @errors, $r->maketext("Course ID cannot exceed [_1] characters.", $ce->{maxCourseIdLength});
658
659
660
if ($add_initial_userID ne "") {
0 commit comments