diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 75eb21299..6eb66e89c 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -8,6 +8,7 @@ Kamerbeek / Oqapi). - fixed: Make sure that Form subclasses are found by WebGUI::Form::FieldType - fixed #9356: Data Form Mail Fields + - fixed #9365: Account: when viewing another person's contribution, it displays my name 7.6.7 - fixed #9263: Thingy possibleValues processing, and List type autodetection. diff --git a/lib/WebGUI/Account/Contributions.pm b/lib/WebGUI/Account/Contributions.pm index e23fb703f..c310ec128 100644 --- a/lib/WebGUI/Account/Contributions.pm +++ b/lib/WebGUI/Account/Contributions.pm @@ -216,6 +216,12 @@ sub www_view { $self->appendCommonVars($var); $p->appendTemplateVars($var); + #Overwrite these + my $user = WebGUI::User->new($session,$userId); + $var->{'user_full_name' } = $user->getWholeName; + $var->{'user_member_since' } = $user->dateCreated; + + return $self->processTemplate($var,$self->getViewTemplateId); }