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

@ -5,6 +5,7 @@
- Replaced CLI gallery import system with a better one.
- fixed: Flat Discount Coupon: Add to Cart button seems broken
- fixed: Deleting unProtected user profile fields
- fixed: Synopsis doesn't update after editting posts
7.5.14
- fixed: RSS feeds report modified date instead of create date

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") {