mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-28 02:43:22 +01:00
Admin: Fix importing users did not import their groups
This commit is contained in:
parent
c0fbd7e091
commit
b32b4338ed
@ -96,6 +96,7 @@ class admin_egw_user_record implements importexport_iface_egw_record
|
|||||||
*/
|
*/
|
||||||
public function set_record(array $_record){
|
public function set_record(array $_record){
|
||||||
$this->user = $_record;
|
$this->user = $_record;
|
||||||
|
if(!array_key_exists('account_groups', $_record))
|
||||||
$this->account_groups = $GLOBALS['egw']->accounts->memberships($this->identifier, true);
|
$this->account_groups = $GLOBALS['egw']->accounts->memberships($this->identifier, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user