From e53482289a758a88518afb69900dd2b04a1b4549 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 3 Aug 2018 15:38:34 +0200 Subject: [PATCH] fix not displayed requrested and comment --- admin/inc/class.admin_account.inc.php | 6 +++++- admin/inc/class.admin_cmds.inc.php | 3 +-- admin/templates/default/cmds.xet | 2 +- api/js/jsapi/egw_user.js | 22 ++++++++++++++++++++-- 4 files changed, 27 insertions(+), 6 deletions(-) diff --git a/admin/inc/class.admin_account.inc.php b/admin/inc/class.admin_account.inc.php index f738b26dd0..bb746533a8 100644 --- a/admin/inc/class.admin_account.inc.php +++ b/admin/inc/class.admin_account.inc.php @@ -204,7 +204,11 @@ class admin_account $account['account_groups'][] = $account['account_primary_group']; } - $cmd = new admin_cmd_edit_user((int)$content['account_id'], $account, null, null, $old); + $cmd = new admin_cmd_edit_user(array( + 'account' => (int)$content['account_id'], + 'set' => $account, + 'old' => $old, + )+(array)$content['admin_cmd']); $cmd->run(); Api\Json\Response::get()->call('egw.refresh', '', 'admin', $cmd->account, $content['account_id'] ? 'edit' : 'add'); diff --git a/admin/inc/class.admin_cmds.inc.php b/admin/inc/class.admin_cmds.inc.php index a67281bb42..7720aec09e 100644 --- a/admin/inc/class.admin_cmds.inc.php +++ b/admin/inc/class.admin_cmds.inc.php @@ -5,9 +5,8 @@ * @link http://www.egroupware.org * @author Ralf Becker * @package admin - * @copyright (c) 2007-16 by Ralf Becker + * @copyright (c) 2007-18 by Ralf Becker * @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License - * @version $Id$ */ use EGroupware\Api; diff --git a/admin/templates/default/cmds.xet b/admin/templates/default/cmds.xet index 7922c32f48..8622c5aaad 100644 --- a/admin/templates/default/cmds.xet +++ b/admin/templates/default/cmds.xet @@ -29,7 +29,7 @@ - +