From f6e5fac23e677ff86f68bec2d1a9eeb2276d5ede Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Thu, 15 Oct 2015 13:46:34 +0200 Subject: [PATCH] user/show.phtml: Pass through a user's name when creating memberships refs #10367 --- application/views/scripts/user/show.phtml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/application/views/scripts/user/show.phtml b/application/views/scripts/user/show.phtml index 97566a782..6500e9ade 100644 --- a/application/views/scripts/user/show.phtml +++ b/application/views/scripts/user/show.phtml @@ -56,7 +56,10 @@ if ($this->hasPermission('config/authentication/users/edit') && $backend instanc qlink( $this->translate('Add User to Group') , 'user/createmembership', - array('backend' => $backend->getName()), + array( + 'backend' => $backend->getName(), + 'user' => $user->user_name + ), array( 'class' => 'button-link', 'data-base-target' => '_next',