attachmentLimit bug

This commit is contained in:
Matthew Wilson 2005-07-23 12:44:34 +00:00
parent 363a56dbdc
commit 99de151fb1

View file

@ -190,7 +190,7 @@ Provide the form variable name to which the file being uploaded is assigned. Not
sub addFileFromFormPost {
my $self = shift;
my $formVariableName = shift;
my $attachmentLimit = shift;
my $attachmentLimit = shift || 99999;
return "" if (WebGUI::HTTP::getStatus() =~ /^413/);
my $filename;
my $attachmentCount = 1;