Add default firstname and lastname for groups

This commit is contained in:
Miles Lott 2001-03-14 20:12:28 +00:00
parent e2f8d96a81
commit e8c916b450

View File

@ -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());