From f4f9bfaba3e4ed5947d30fd3153fbde5e99a0dd2 Mon Sep 17 00:00:00 2001 From: sjb4891 Date: Wed, 11 Oct 2000 01:58:21 +0000 Subject: [PATCH] changed ereg in the code to remove groups from accounts to match what is actually in the field. --- admin/deletegroup.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/admin/deletegroup.php b/admin/deletegroup.php index d1bdf765bf..fc65960f39 100755 --- a/admin/deletegroup.php +++ b/admin/deletegroup.php @@ -16,6 +16,7 @@ if (! $group_id) Header("Location: " . $phpgw->link("groups.php")); + $phpgw_info["flags"]["currentapp"] = "admin"; $phpgw_info["flags"]["disable_message_class"] = True; $phpgw_info["flags"]["disable_send_class"] = True; @@ -29,7 +30,7 @@ } while ($user = each($groups)) { - $user_[1] = ereg_replace(",$group_id,",",",$user[1]); + $user_[1] = ereg_replace(",$group_id:[0-9]+,",",",$user[1]); if ($user_[1] == ",") { $user_[1] = ""; }