diff --git a/phpgwapi/inc/class.accounts_shared.inc.php b/phpgwapi/inc/class.accounts_shared.inc.php index fa5e0981b8..230b42d5d2 100644 --- a/phpgwapi/inc/class.accounts_shared.inc.php +++ b/phpgwapi/inc/class.accounts_shared.inc.php @@ -41,6 +41,8 @@ { $this->account_id = get_account_id($account_id); } + $this->user_context = $GLOBALS['phpgw_info']['server']['ldap_context']; + $this->group_context = $GLOBALS['phpgw_info']['server']['ldap_group_context']; } function is_expired()