From 962f5072a79113b26235917e04030af9c64a78c0 Mon Sep 17 00:00:00 2001 From: Nathan Wallach Date: Thu, 21 Apr 2022 16:05:45 +0300 Subject: [PATCH] Fix typo in file_type of PDF in %HC_FORMATS --- 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 f9800fa6bf..792464d14f 100644 --- a/lib/WeBWorK/ContentGenerator/Hardcopy.pm +++ b/lib/WeBWorK/ContentGenerator/Hardcopy.pm @@ -61,7 +61,7 @@ our $PreserveTempFiles = 0 unless defined $PreserveTempFiles; our $HC_DEFAULT_FORMAT = "pdf"; # problems if this is not an allowed format for the user... our %HC_FORMATS = ( tex => { name => x("TeX Source"), subr => "generate_hardcopy_tex", file_type => 'application/zip' }, - pdf => { name => x("Adobe PDF"), subr => "generate_hardcopy_pdf", file_type => 'applicaotin/pdf' }, + pdf => { name => x("Adobe PDF"), subr => "generate_hardcopy_pdf", file_type => 'application/pdf' }, ); our @HC_FORMAT_DISPLAY_ORDER = ('tex', 'pdf');