now saves apps again assoc to the group

This commit is contained in:
skeeter 2000-12-29 03:57:53 +00:00
parent 3ef93d16db
commit ba16563d01

View File

@ -41,9 +41,10 @@
// $phpgw->db->lock(array("accounts","groups","preferences","config","applications","phpgw_hooks","phpgw_sessions")); // $phpgw->db->lock(array("accounts","groups","preferences","config","applications","phpgw_hooks","phpgw_sessions"));
$phpgw->accounts->add_app($n_group_permissions); $phpgw->accounts->add_app($n_group_permissions);
$apps_after = explode(":",$phpgw->accounts->add_app("",True)); $apps = $phpgw->accounts->add_app("",True)
$apps_after = explode(":",$apps);
$phpgw->db->query("update groups set group_name='$n_group', group_apps='" . $apps_after $phpgw->db->query("update groups set group_name='$n_group', group_apps='" . $apps
. "' where group_id=$group_id"); . "' where group_id=$group_id");
for ($i=0; $i<count($n_users);$i++) { for ($i=0; $i<count($n_users);$i++) {