mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-23 19:31:53 +02:00
Add default firstname and lastname for groups
This commit is contained in:
parent
e2f8d96a81
commit
e8c916b450
@ -50,8 +50,8 @@
|
|||||||
if(!$phpgw->db->num_rows()) { break; }
|
if(!$phpgw->db->num_rows()) { break; }
|
||||||
}
|
}
|
||||||
|
|
||||||
$phpgw->db->query("INSERT INTO phpgw_accounts(account_id,account_lid,account_type) "
|
$phpgw->db->query("INSERT INTO phpgw_accounts(account_id,account_lid,account_type,account_firstname,account_lastname) "
|
||||||
."VALUES($group_id,'$n_group','g')");
|
."VALUES($group_id,'$n_group','g','$n_group','Group')");
|
||||||
|
|
||||||
$apps = CreateObject('phpgwapi.applications',intval($group_id));
|
$apps = CreateObject('phpgwapi.applications',intval($group_id));
|
||||||
$apps->update_data(Array());
|
$apps->update_data(Array());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user