The edit stamp should contain the name of the user who edited the post, not the original poster. Fixes bug #11578.
This commit is contained in:
parent
e03f754bce
commit
7608200a6b
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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} .= "<p>\n\n --- (".$i18n->get('Edited_on')." ".$self->session->datetime->epochToHuman(undef,"%z %Z [GMT%O]")." ".$i18n->get('By')." ".$user->profileField("alias").") --- \n</p>";
|
||||
$data{content} .= "<p>\n\n --- (".$i18n->get('Edited_on')." ".$self->session->datetime->epochToHuman(undef,"%z %Z [GMT%O]")." ".$i18n->get('By')." ".$self->session->user->profileField("alias").") --- \n</p>";
|
||||
}
|
||||
$data{url} = $self->fixUrl($self->getThread->get("url")."/1") if ($self->isReply && $self->isNew);
|
||||
$data{groupIdView} = $self->getThread->getParent->get("groupIdView");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue