diff --git a/templates/ContentGenerator/Instructor/FileManager/archive.html.ep b/templates/ContentGenerator/Instructor/FileManager/archive.html.ep index 86773297c1..324bd542f4 100644 --- a/templates/ContentGenerator/Instructor/FileManager/archive.html.ep +++ b/templates/ContentGenerator/Instructor/FileManager/archive.html.ep @@ -11,7 +11,7 @@
<%= text_field archive_filename => - @$files == 1 ? $files->[0] =~ s/\..*$/.zip/r : 'webwork_files.zip', + @$files == 1 ? $files->[0] =~ s/(\..*)?$/.zip/r : 'webwork_files.zip', id => 'archive-filename', placeholder => maketext('Archive Filename'), class => 'form-control', size => 30, dir => 'ltr' =%>