This commit is contained in:
Matthew Wilson 2006-05-19 19:46:37 +00:00
parent 94565a79be
commit 8e683580f4

View file

@ -679,7 +679,7 @@ sub processPropertiesFromFormPost {
delete $self->{_storageLocation};
my $storage = $self->getStorageLocation;
my $attachmentLimit = $self->getThread->getParent->get("attachmentsPerPost");
$storage->addFileFromFormPost("file", $attachmentLimit) if $attachmentLimit;
$storage->addFileFromFormPost("image", $attachmentLimit) if $attachmentLimit;
$self->postProcess;
$self->requestCommit;
}