From 93c2a3f15d4474c650ec22ce4d0e012d229da42b Mon Sep 17 00:00:00 2001 From: skeeter Date: Wed, 21 Mar 2001 05:51:33 +0000 Subject: [PATCH] set the default account_id again --- phpgwapi/inc/class.sessions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.sessions.inc.php b/phpgwapi/inc/class.sessions.inc.php index 10174314f3..69e7c9d7d2 100644 --- a/phpgwapi/inc/class.sessions.inc.php +++ b/phpgwapi/inc/class.sessions.inc.php @@ -229,6 +229,7 @@ { $this->account_id = $phpgw->accounts->name2id($this->account_lid); } + $phpgw_info['user']['account_id'] = $this->account_id; $phpgw->accounts->account_id = $this->account_id; $this->sessionid = md5($phpgw->common->randomstring(10)); @@ -329,7 +330,6 @@ function read_repositories() { 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);