From 99de151fb1a813333d02df57300e6a4fab23fce7 Mon Sep 17 00:00:00 2001 From: Matthew Wilson Date: Sat, 23 Jul 2005 12:44:34 +0000 Subject: [PATCH] attachmentLimit bug --- lib/WebGUI/Storage.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WebGUI/Storage.pm b/lib/WebGUI/Storage.pm index ea7c322c4..6dbf736a1 100644 --- a/lib/WebGUI/Storage.pm +++ b/lib/WebGUI/Storage.pm @@ -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;