diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt
index f6c518ce8..7f61eb98d 100644
--- a/docs/changelog/7.x.x.txt
+++ b/docs/changelog/7.x.x.txt
@@ -1,4 +1,5 @@
7.4.6
+ - fix: can't see the send private message link
7.4.5
diff --git a/lib/WebGUI/Operation/Profile.pm b/lib/WebGUI/Operation/Profile.pm
index 774a93df5..9718081f0 100644
--- a/lib/WebGUI/Operation/Profile.pm
+++ b/lib/WebGUI/Operation/Profile.pm
@@ -304,6 +304,9 @@ sub www_viewProfile {
if ($session->user->userId eq $session->form->process("uid")) {
$vars->{'profile.accountOptions'} = WebGUI::Operation::Shared::accountOptions($session);
}
+ else {
+ push(@{$vars->{'profile.accountOptions'}}, {'options.display' => ''.$i18n->get('send private message').''});
+ }
return $session->style->userStyle(WebGUI::Asset::Template->new($session,"PBtmpl0000000000000052")->process($vars));
}
diff --git a/lib/WebGUI/Operation/Shared.pm b/lib/WebGUI/Operation/Shared.pm
index 8c818fe85..95fd6f144 100644
--- a/lib/WebGUI/Operation/Shared.pm
+++ b/lib/WebGUI/Operation/Shared.pm
@@ -69,12 +69,6 @@ TODO: DOCUMENT ME
push(@array, {'options.display' => ''.$i18n->get('redeem code', 'Subscription').''});
}
- my $uid = $session->form->get("uid");
- if($op eq "viewProfile" && $uid ne $session->user->userId) {
- push(@array, {'options.display' => ''.$i18n->get('send private message').''});
- }
-
-
if ($session->setting->get('userInvitationsEnabled')) {
push @array, {
'options.display' => sprintf('%s', $session->url->page('op=inviteUser'), $i18n->get('invite a friend')),