From 24e12a61ddb3185c04f302d1f91524dd12f67237 Mon Sep 17 00:00:00 2001 From: alpeb Date: Tue, 30 Mar 2004 04:23:23 +0000 Subject: [PATCH] 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. --- admin/inc/class.boaccounts.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/admin/inc/class.boaccounts.inc.php b/admin/inc/class.boaccounts.inc.php index c599979ea2..f9c8cca81f 100755 --- a/admin/inc/class.boaccounts.inc.php +++ b/admin/inc/class.boaccounts.inc.php @@ -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']))