diff --git a/phpgwapi/inc/class.sessions.inc.php b/phpgwapi/inc/class.sessions.inc.php index 3667e6f146..8270cd2187 100644 --- a/phpgwapi/inc/class.sessions.inc.php +++ b/phpgwapi/inc/class.sessions.inc.php @@ -292,7 +292,7 @@ $GLOBALS['egw_info']['user']['kp3'] = $this->kp3; $this->update_dla(); - $this->account_id = $GLOBALS['egw']->accounts->name2id($this->account_lid); + $this->account_id = $GLOBALS['egw']->accounts->name2id($this->account_lid,'account_lid','u'); if (!$this->account_id) { return False;