From 9ff8985ae9612c8b1dabba05e209ef89a8973fa0 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 7 May 2007 08:06:03 +0000 Subject: [PATCH] "cancel button was not working in delete user" --- admin/inc/class.uiaccounts.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/admin/inc/class.uiaccounts.inc.php b/admin/inc/class.uiaccounts.inc.php index 9bb7f6b887..8f1aeffd93 100755 --- a/admin/inc/class.uiaccounts.inc.php +++ b/admin/inc/class.uiaccounts.inc.php @@ -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')); }