diff --git a/admin/newgroup.php b/admin/newgroup.php index d12c80f6db..26ba8403f9 100755 --- a/admin/newgroup.php +++ b/admin/newgroup.php @@ -50,8 +50,8 @@ if(!$phpgw->db->num_rows()) { break; } } - $phpgw->db->query("INSERT INTO phpgw_accounts(account_id,account_lid,account_type) " - ."VALUES($group_id,'$n_group','g')"); + $phpgw->db->query("INSERT INTO phpgw_accounts(account_id,account_lid,account_type,account_firstname,account_lastname) " + ."VALUES($group_id,'$n_group','g','$n_group','Group')"); $apps = CreateObject('phpgwapi.applications',intval($group_id)); $apps->update_data(Array());