From 7f3cf8f63410fb12163884fbd5dc491a10b972f9 Mon Sep 17 00:00:00 2001 From: Peter Staab Date: Mon, 20 Nov 2023 15:02:54 -0500 Subject: [PATCH] fixed minor error. --- lib/WeBWorK/ContentGenerator/Hardcopy.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WeBWorK/ContentGenerator/Hardcopy.pm b/lib/WeBWorK/ContentGenerator/Hardcopy.pm index ce622db467..e0b5d5b2c1 100644 --- a/lib/WeBWorK/ContentGenerator/Hardcopy.pm +++ b/lib/WeBWorK/ContentGenerator/Hardcopy.pm @@ -737,7 +737,7 @@ sub generate_hardcopy_tex ($c, $temp_dir_path, $final_file_basename) { # Create a zip archive of the bundle directory my $zip_file = "$temp_dir_path/$final_file_basename.zip"; - $zip = Archive::Zip::SimpleZip->new($zip_file); + my $zip = Archive::Zip::SimpleZip->new($zip_file); unless ($zip) { $c->add_error( 'Failed to create zip archive of directory "',