diff --git a/docs/changelog/6.x.x.txt b/docs/changelog/6.x.x.txt index 00463da20..d477714f1 100644 --- a/docs/changelog/6.x.x.txt +++ b/docs/changelog/6.x.x.txt @@ -25,6 +25,8 @@ - Fixed a lot of the www_ methods in Survey.pm to return in styled pages instead of raw

tags without etc - fix [ 1293897 ] 6.7.4 - asset manager reorder by rank + - fix [ 1299131 ] paragraph tags added every time collaboration message change + 6.7.6 - Fixed invalid i18n keys that were causing missing labels. diff --git a/lib/WebGUI/Asset/Post.pm b/lib/WebGUI/Asset/Post.pm index 98f3461ad..e8b3d0caa 100644 --- a/lib/WebGUI/Asset/Post.pm +++ b/lib/WebGUI/Asset/Post.pm @@ -630,8 +630,8 @@ sub processPropertiesFromFormPost { ); $data{url} = $self->fixUrl($self->getThread->get("url")."/1") if ($self->isReply); if ($self->getThread->getParent->canModerate) { - $self->getThread->lock if ($session{form}{'lock'}); - $self->getThread->stick if ($session{form}{stick}); + $self->getThread->lock if ($session{form}{'lock'}); + $self->getThread->stick if ($session{form}{stick}); } } $data{groupIdView} =$self->getThread->getParent->get("groupIdView"); @@ -641,9 +641,9 @@ sub processPropertiesFromFormPost { ($data{synopsis}, $data{content}) = $self->getSynopsisAndContentFromFormPost; if ($self->getThread->getParent->get("addEditStampToPosts")) { $data{content} .= "\n\n --- (".WebGUI::International::get('Edited_on','Asset_Post')." ".WebGUI::DateTime::epochToHuman(undef,"%z %Z [GMT%O]").WebGUI::International::get('By','Asset_Post').$session{user}{alias}.") --- \n"; - } - if ($self->getValue("contentType") eq "mixed" || $self->getValue("contentType") eq "html") { - $data{content} = '

'.$data{content}.'

'; + if ($self->getValue("contentType") eq "mixed" || $self->getValue("contentType") eq "html") { + $data{content} = '

'.$data{content}.'

'; + } } $self->update(\%data); $self->getThread->subscribe if ($session{form}{subscribe});