From e8c916b4509eabfd539d78253a7c74b65da6cb07 Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Wed, 14 Mar 2001 20:12:28 +0000 Subject: [PATCH] Add default firstname and lastname for groups --- admin/newgroup.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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());