From abc058ea4a6f297dd6fb06b72f944c30db2557cf Mon Sep 17 00:00:00 2001 From: Peter Staab Date: Mon, 20 Nov 2023 15:04:21 -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..1c914b01e7 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 "',