mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
"fixed not working $type=='owngroups' for ldap, eg. used in calendar pref 'Preselected group for entering the planner'"
This commit is contained in:
parent
4cb30032ba
commit
b470f52e99
@ -268,18 +268,15 @@ class accounts
|
|||||||
$start = $param['start'];
|
$start = $param['start'];
|
||||||
unset($param['start']);
|
unset($param['start']);
|
||||||
|
|
||||||
if ($this->config['account_repository'] != 'ldap')
|
if ($this->config['account_repository'] != 'ldap' && is_numeric($param['type']))
|
||||||
{
|
{
|
||||||
if (is_numeric($param['type']))
|
$group = (int) $param['type'];
|
||||||
{
|
$param['type'] = 'accounts';
|
||||||
$group = (int) $param['type'];
|
}
|
||||||
$param['type'] = 'accounts';
|
elseif ($param['type'] == 'owngroups')
|
||||||
}
|
{
|
||||||
elseif ($param['type'] == 'owngroups')
|
$group = true;
|
||||||
{
|
$param['type'] = 'groups';
|
||||||
$group = true;
|
|
||||||
$param['type'] = 'groups';
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
// call ourself recursive to get (evtl. cached) full search
|
// call ourself recursive to get (evtl. cached) full search
|
||||||
$full_search = $this->search($param);
|
$full_search = $this->search($param);
|
||||||
|
Loading…
Reference in New Issue
Block a user