mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
Fixes bug #869805. When updating a group's name, in table phpgw_accounts only the account_lid field got updated, now account_firstname gets updated too.
This commit is contained in:
parent
4b5367c651
commit
24e12a61dd
@ -474,6 +474,7 @@
|
||||
if($group_info['account_name'] && $old_group_info['account_lid'] <> $group_info['account_name'])
|
||||
{
|
||||
$group->data['account_lid'] = $group_info['account_name'];
|
||||
$group->data['firstname'] = $group_info['account_name'];
|
||||
|
||||
$basedir = $GLOBALS['phpgw_info']['server']['files_dir'] . SEP . 'groups' . SEP;
|
||||
if (! @rename($basedir . $old_group_info['account_lid'], $basedir . $group_info['account_name']))
|
||||
|
Loading…
Reference in New Issue
Block a user