[20933] Fix: Allow rename groupname

Sigurd Nes <[email protected]> Tue, 05 Jan 2010 21:29:36 +0000
Newsgroups gmane.comp.web.phpgroupware.cvs
Message-ID <[email protected]>
Revision: 20933
          http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=20933
Author:   sigurdne
Date:     2010-01-05 21:29:35 +0000 (Tue, 05 Jan 2010)
Log Message:
-----------
Fix: Allow rename groupname

Modified Paths:
--------------
    people/sigurdne/modules/admin/trunk/inc/class.boaccounts.inc.php

Modified: people/sigurdne/modules/admin/trunk/inc/class.boaccounts.inc.php
===================================================================
--- people/sigurdne/modules/admin/trunk/inc/class.boaccounts.inc.php	2010-01-05 21:28:41 UTC (rev 20932)
+++ people/sigurdne/modules/admin/trunk/inc/class.boaccounts.inc.php	2010-01-05 21:29:35 UTC (rev 20933)
@@ -176,6 +176,7 @@
 				$new_group = $GLOBALS['phpgw']->accounts->get($values['account_id']);
 			}
 			$new_group->lid			= $values['account_name'];
+			$new_group->old_loginid = $old_group->lid;
 			$new_group->firstname	= $values['account_name'];
 			$new_group->lastname	= lang('group');
 			$new_group->expires		= -1;