mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
"cancel button was not working in delete user"
This commit is contained in:
parent
8b50f4686b
commit
9ff8985ae9
@ -680,7 +680,8 @@
|
||||
|
||||
function delete_user()
|
||||
{
|
||||
if ($GLOBALS['egw']->acl->check('account_access',32,'admin') || $GLOBALS['egw_info']['user']['account_id'] == $_GET['account_id'])
|
||||
if ($GLOBALS['egw']->acl->check('account_access',32,'admin') || $GLOBALS['egw_info']['user']['account_id'] == $_GET['account_id'] ||
|
||||
$_POST['cancel'])
|
||||
{
|
||||
$GLOBALS['egw']->redirect($GLOBALS['egw']->link('/index.php','menuaction=admin.uiaccounts.list_users'));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user