diff --git a/phpgwapi/inc/class.sessions.inc.php b/phpgwapi/inc/class.sessions.inc.php index 7515739e68..10174314f3 100644 --- a/phpgwapi/inc/class.sessions.inc.php +++ b/phpgwapi/inc/class.sessions.inc.php @@ -328,7 +328,8 @@ \*************************************************************************/ function read_repositories() { - global $phpgw; + global $phpgw, $phpgw_info; + $phpgw_info['user']['account_id'] = $this->account_id; $phpgw->acl->acl($this->account_id); $phpgw->accounts->accounts($this->account_id); $phpgw->preferences->preferences($this->account_id);