fixed: Synopsis doesn't update after editting posts

This commit is contained in:
Graham Knop 2008-07-01 15:25:06 +00:00
parent ad1c60e213
commit a8d08634c6
2 changed files with 3 additions and 0 deletions

View file

@ -835,6 +835,8 @@ sub processPropertiesFromFormPost {
$self->getThread->stick if ($self->session->form->process("stick"));
}
}
# force the value to be empty so it gets updated properly by content
$self->update({synopsis => ($self->session->form->process("synopsis") || "")});
if ($self->session->form->process("archive") && $self->getThread->getParent->canModerate) {
$self->getThread->archive;
} elsif ($self->getThread->get("status") eq "archived") {