user/show.phtml: Pass through a user's name when creating memberships

refs #10367
This commit is contained in:
Johannes Meyer 2015-10-15 13:46:34 +02:00
parent 2168839349
commit f6e5fac23e
1 changed files with 4 additions and 1 deletions

View File

@ -56,7 +56,10 @@ if ($this->hasPermission('config/authentication/users/edit') && $backend instanc
<?= $this->qlink( <?= $this->qlink(
$this->translate('Add User to Group') , $this->translate('Add User to Group') ,
'user/createmembership', 'user/createmembership',
array('backend' => $backend->getName()), array(
'backend' => $backend->getName(),
'user' => $user->user_name
),
array( array(
'class' => 'button-link', 'class' => 'button-link',
'data-base-target' => '_next', 'data-base-target' => '_next',