diff --git a/admin/inc/class.admin_egw_user_record.inc.php b/admin/inc/class.admin_egw_user_record.inc.php index 479a23f36d..84e943ca42 100644 --- a/admin/inc/class.admin_egw_user_record.inc.php +++ b/admin/inc/class.admin_egw_user_record.inc.php @@ -96,6 +96,7 @@ class admin_egw_user_record implements importexport_iface_egw_record */ public function set_record(array $_record){ $this->user = $_record; + if(!array_key_exists('account_groups', $_record)) $this->account_groups = $GLOBALS['egw']->accounts->memberships($this->identifier, true); }