forked from extern/egroupware
set the default account_id again
This commit is contained in:
parent
30bae00dc9
commit
e7a9f708bc
@ -41,7 +41,10 @@
|
|||||||
|
|
||||||
$this->db = $phpgw->db;
|
$this->db = $phpgw->db;
|
||||||
|
|
||||||
$this->account_id = get_account_id($account_id);
|
if($account_id != '')
|
||||||
|
{
|
||||||
|
$this->account_id = get_account_id($account_id);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function read()
|
function read()
|
||||||
|
@ -232,7 +232,7 @@
|
|||||||
$this->account_id = $phpgw->accounts->name2id($this->account_lid);
|
$this->account_id = $phpgw->accounts->name2id($this->account_lid);
|
||||||
}
|
}
|
||||||
$phpgw_info['user']['account_id'] = $this->account_id;
|
$phpgw_info['user']['account_id'] = $this->account_id;
|
||||||
$phpgw->accounts->account_id = $this->account_id;
|
$phpgw->accounts->accounts($this->account_id);
|
||||||
|
|
||||||
$this->sessionid = md5($phpgw->common->randomstring(10));
|
$this->sessionid = md5($phpgw->common->randomstring(10));
|
||||||
$this->kp3 = md5($phpgw->common->randomstring(15));
|
$this->kp3 = md5($phpgw->common->randomstring(15));
|
||||||
|
Loading…
Reference in New Issue
Block a user