Permalink
Browse files

added blurb to registration & added docx as file type for uploads

  • Loading branch information...
1 parent 40a4b8e commit 953c7f5b1321c977706c4de43793d9fbb9e07246 @michaelweiss committed Jun 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/submission/Core/Upload.pm
@@ -26,7 +26,7 @@ sub save {
$path =~ /(\.\w+)$/ || ::handleError("Bad file extension");
my $fileExtension = $1;
- unless ($fileExtension eq ".doc" || $fileExtension eq ".pdf" ||
+ unless ($fileExtension eq ".doc" || $fileExtension eq ".docx" || $fileExtension eq ".pdf" ||
$fileExtension eq ".txt") { # 09-02-12 mw added support for .txt files
::handleError("Can only upload PDF, Word or text documents: " . $path);
}

0 comments on commit 953c7f5

Please sign in to comment.