Skip to content

Commit

Permalink
initialize hardcopyLabels
Browse files Browse the repository at this point in the history
  • Loading branch information
root authored and Alex-Jordan committed Jul 14, 2023
1 parent 6ce9993 commit 8efa759
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/WeBWorK/ContentGenerator/Instructor/PGProblemEditor.pm
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ sub initialize ($c) {
$c->stash->{problemContents} = '';
$c->stash->{formsToShow} = ACTION_FORMS();
$c->stash->{actionFormTitles} = ACTION_FORM_TITLES();
$c->stash->{hardcopyLabels} = [];

# Tell the templates if we are working on a PG file
$c->{is_pg} = ($c->{file_type} eq 'course_info') ? 0 : 1;
Expand Down

0 comments on commit 8efa759

Please sign in to comment.