mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
changed ereg in the code to remove groups from accounts to match what is
actually in the field.
This commit is contained in:
parent
1369e38c4b
commit
f4f9bfaba3
@ -16,6 +16,7 @@
|
|||||||
if (! $group_id)
|
if (! $group_id)
|
||||||
Header("Location: " . $phpgw->link("groups.php"));
|
Header("Location: " . $phpgw->link("groups.php"));
|
||||||
|
|
||||||
|
|
||||||
$phpgw_info["flags"]["currentapp"] = "admin";
|
$phpgw_info["flags"]["currentapp"] = "admin";
|
||||||
$phpgw_info["flags"]["disable_message_class"] = True;
|
$phpgw_info["flags"]["disable_message_class"] = True;
|
||||||
$phpgw_info["flags"]["disable_send_class"] = True;
|
$phpgw_info["flags"]["disable_send_class"] = True;
|
||||||
@ -29,7 +30,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
while ($user = each($groups)) {
|
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] == ",") {
|
if ($user_[1] == ",") {
|
||||||
$user_[1] = "";
|
$user_[1] = "";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user