Minor update Profile\View page
This commit is contained in:
parent
52fa45fc74
commit
dd43941cab
1 changed files with 4 additions and 4 deletions
|
@ -151,16 +151,16 @@ class View extends Profile
|
|||
'action' => Cnst::ACTION_SEND,
|
||||
'more1' => $this->curUser->id,
|
||||
];
|
||||
$pmArgs += [
|
||||
'more2' => $this->c->Csrf->createHash('PMAction', $pmArgs),
|
||||
];
|
||||
|
||||
$fields['pm'] = [
|
||||
'class' => 'pline',
|
||||
'type' => 'link',
|
||||
'caption' => 'PM',
|
||||
'value' => __('Send PM'),
|
||||
'href' => $this->c->Router->link(
|
||||
'PMAction',
|
||||
$pmArgs + ['more2' => $this->c->Csrf->createHash('PMAction', $pmArgs)]
|
||||
),
|
||||
'href' => $this->c->Router->link('PMAction', $pmArgs),
|
||||
];
|
||||
}
|
||||
if ($this->rules->viewEmail) {
|
||||
|
|
Loading…
Add table
Reference in a new issue