From a9fe0f0b0d2ff306cf89e8d9f6d6267fb0328b83 Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Wed, 14 Mar 2001 19:53:06 +0000 Subject: [PATCH] Still odd, but will delete the members and then the group if approved to do so --- admin/deletegroup.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/admin/deletegroup.php b/admin/deletegroup.php index cce00a1d79..e065441deb 100755 --- a/admin/deletegroup.php +++ b/admin/deletegroup.php @@ -57,8 +57,12 @@ $p->set_var('yes',''); $p->set_var('no',''); $p->pparse('out','body'); + $phpgw->common->phpgw_footer(); $phpgw->common->phpgw_exit(); - } + } elseif ($removeusers && !$confirm) { + Header('Location: ' . $phpgw->link('/admin/deletegroup.php','group_id='.$group_id.'&confirm=True')); + $phpgw->common->phpgw_exit(); + } if ($confirm) { $phpgw->db->lock(array('phpgw_accounts','phpgw_acl'));