- fix: can't see the send private message link
This commit is contained in:
parent
46994306f2
commit
db6ea6d793
3 changed files with 4 additions and 6 deletions
|
|
@ -69,12 +69,6 @@ TODO: DOCUMENT ME
|
|||
push(@array, {'options.display' => '<a href="'.$session->url->page('op=redeemSubscriptionCode').'">'.$i18n->get('redeem code', 'Subscription').'</a>'});
|
||||
}
|
||||
|
||||
my $uid = $session->form->get("uid");
|
||||
if($op eq "viewProfile" && $uid ne $session->user->userId) {
|
||||
push(@array, {'options.display' => '<a href="'.$session->url->page('op=sendPrivateMessage;uid='.$uid).'">'.$i18n->get('send private message').'</a>'});
|
||||
}
|
||||
|
||||
|
||||
if ($session->setting->get('userInvitationsEnabled')) {
|
||||
push @array, {
|
||||
'options.display' => sprintf('<a href=%s>%s</a>', $session->url->page('op=inviteUser'), $i18n->get('invite a friend')),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue