From fc91dfaf5b56f906e67855dac3d62f9037f8ead9 Mon Sep 17 00:00:00 2001 From: skeeter Date: Wed, 11 Oct 2000 00:18:42 +0000 Subject: [PATCH] improper group info on new groups causing navbar problems --- admin/newgroup.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/admin/newgroup.php b/admin/newgroup.php index 1a55554ee4..a436e44a7a 100755 --- a/admin/newgroup.php +++ b/admin/newgroup.php @@ -35,9 +35,10 @@ if (! $error) { $phpgw->db->lock(array("accounts","groups")); + $phpgw->accounts->add_app($n_group_permissions); $phpgw->db->query("INSERT INTO groups (group_name,group_apps) VALUES " . "('$n_group','" - . $phpgw->accounts->array_to_string("none",$n_group_permissions) . "')"); + . $phpgw->accounts->add_app("",True) . "')"); $phpgw->db->query("SELECT group_id FROM groups WHERE group_name='$n_group'"); $phpgw->db->next_record(); $group_con = $phpgw->db->f("group_id");