I have no idea why this was removed, but I'm re-adding it.
This commit is contained in:
parent
9acd445087
commit
94565a79be
1 changed files with 5 additions and 1 deletions
|
|
@ -675,7 +675,11 @@ sub processPropertiesFromFormPost {
|
||||||
$self->getThread->stick if ($self->session->form->process("stick"));
|
$self->getThread->stick if ($self->session->form->process("stick"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$self->getThread->subscribe if ($self->session->form->process("subscribe"));
|
$self->getThread->subscribe if ($self->session->form->process("subscribe"));
|
||||||
|
delete $self->{_storageLocation};
|
||||||
|
my $storage = $self->getStorageLocation;
|
||||||
|
my $attachmentLimit = $self->getThread->getParent->get("attachmentsPerPost");
|
||||||
|
$storage->addFileFromFormPost("file", $attachmentLimit) if $attachmentLimit;
|
||||||
$self->postProcess;
|
$self->postProcess;
|
||||||
$self->requestCommit;
|
$self->requestCommit;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue