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.
1 parent 040c8b7 commit 1b158e4Copy full SHA for 1b158e4
1 file changed
lib/WeBWorK.pm
@@ -140,10 +140,10 @@ async sub dispatch ($c) {
140
# This route could have the courseID set, but does not need authentication.
141
return 1 if $c->current_route eq 'saml2_metadata';
142
143
- return (0, 'This course does not exist.')
+ return (0, "The course $routeCaptures{courseID} does not exist.")
144
unless (-e $ce->{courseDirs}{root}
145
|| -e "$ce->{webwork_courses_dir}/$ce->{admin_course_id}/archives/$routeCaptures{courseID}.tar.gz");
146
- return (0, 'This course has been archived and closed.') unless -e $ce->{courseDirs}{root};
+ return (0, "The course $routeCaptures{courseID} has been archived and closed.") unless -e $ce->{courseDirs}{root};
147
148
my $db = WeBWorK::DB->new($ce);
149
debug("(here's the DB handle: $db)\n");
0 commit comments