From 8e683580f4c261b47b3099d9eb3a1d350c3ee941 Mon Sep 17 00:00:00 2001 From: Matthew Wilson Date: Fri, 19 May 2006 19:46:37 +0000 Subject: [PATCH] fix --- lib/WebGUI/Asset/Post.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WebGUI/Asset/Post.pm b/lib/WebGUI/Asset/Post.pm index 10eafc785..40538f33c 100644 --- a/lib/WebGUI/Asset/Post.pm +++ b/lib/WebGUI/Asset/Post.pm @@ -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; }