diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index e9792841a..c0db8a4d9 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -1,6 +1,7 @@ 7.9.6 - fixed #11577: Gallery Album: "Sort by" radio list missing in "Add Archive" view - fixed #11576: Default WebGUI config has a bad macro + - fixed #11578: Collaboration System: add edit stamp uses wrong user 7.9.5 - Asset->www_copy now has a progress bar diff --git a/lib/WebGUI/Asset/Post.pm b/lib/WebGUI/Asset/Post.pm index 5e17b7a96..8b0846181 100644 --- a/lib/WebGUI/Asset/Post.pm +++ b/lib/WebGUI/Asset/Post.pm @@ -1122,10 +1122,9 @@ sub postProcess { $self->trash; } } - my $user = WebGUI::User->new($self->session, $self->get("ownerUserId")); my $i18n = WebGUI::International->new($self->session, "Asset_Post"); if ($self->getThread->getParent->get("addEditStampToPosts")) { - $data{content} .= "

\n\n --- (".$i18n->get('Edited_on')." ".$self->session->datetime->epochToHuman(undef,"%z %Z [GMT%O]")." ".$i18n->get('By')." ".$user->profileField("alias").") --- \n

"; + $data{content} .= "

\n\n --- (".$i18n->get('Edited_on')." ".$self->session->datetime->epochToHuman(undef,"%z %Z [GMT%O]")." ".$i18n->get('By')." ".$self->session->user->profileField("alias").") --- \n

"; } $data{url} = $self->fixUrl($self->getThread->get("url")."/1") if ($self->isReply && $self->isNew); $data{groupIdView} = $self->getThread->getParent->get("groupIdView");