mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:15 +01:00
Setting default values if nothing passed.
This commit is contained in:
parent
5cdc584f2b
commit
e18b447599
@ -58,7 +58,7 @@
|
||||
{
|
||||
global $phpgw, $phpgw_info;
|
||||
$this->db = $phpgw->db;
|
||||
$this->account_id = get_account_id($account_id);
|
||||
$this->account_id = get_account_id($account_id,$phpgw_info['user']['account_id']);
|
||||
}
|
||||
|
||||
/**************************************************************************\
|
||||
@ -465,7 +465,7 @@ It should use the values in the $this->data
|
||||
|
||||
$db2 = $this->db;
|
||||
|
||||
$account_id = get_account_id($accountid);
|
||||
$account_id = get_account_id($accountid,$this->account_id);
|
||||
$memberships = $phpgw->accounts->memberships($account_id);
|
||||
$sql = "select acl_appname, acl_rights from phpgw_acl where acl_location = 'run' and "
|
||||
. 'acl_account in ';
|
||||
|
Loading…
Reference in New Issue
Block a user