Skip to content

Commit 3732223

Browse files
authored
Merge pull request #1492 from paulvojta/main
Fix minor perl mistake.
2 parents 994c190 + a090895 commit 3732223

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/WeBWorK/ContentGenerator/CourseAdmin.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,7 @@ sub add_course_validate {
654654
push @errors, $r->maketext("A course with ID [_1] already exists.", $add_courseID);
655655
}
656656
if ( length($add_courseID) > $ce->{maxCourseIdLength} ) {
657-
@errors, $r->maketext("Course ID cannot exceed [_1] characters.", $ce->{maxCourseIdLength});
657+
push @errors, $r->maketext("Course ID cannot exceed [_1] characters.", $ce->{maxCourseIdLength});
658658
}
659659

660660
if ($add_initial_userID ne "") {

0 commit comments

Comments
 (0)