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 8f8bff9 commit 88df6a3Copy full SHA for 88df6a3
lib/WeBWorK/ContentGenerator/Problem.pm
@@ -2257,6 +2257,8 @@ sub output_past_answer_button{
2257
sub output_email_instructor{
2258
my $self = shift;
2259
my $r = $self->r;
2260
+ my $urlpath = $r->urlpath;
2261
+ my $courseName = $urlpath->arg("courseID");
2262
my $problem = $self->{problem};
2263
my %will = %{ $self->{will} };
2264
my $pg = $self->{pg};
@@ -2265,6 +2267,7 @@ sub output_email_instructor{
2265
2267
2266
2268
print $self->feedbackMacro(
2269
module => __PACKAGE__,
2270
+ courseId => $courseName,
2271
set => $self->{set}->set_id,
2272
problem => $problem->problem_id,
2273
problemPath => $problem->source_file,
0 commit comments