mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-27 05:11:41 +02:00
implemented the same default, as for the sql class: everything which is not 'accounts' or 'groups' gives a list of both
This commit is contained in:
parent
9835bb0fdb
commit
3960fcc0ae
@ -458,7 +458,7 @@
|
|||||||
//print "\$_type=$_type, \$start=$start , \$sort=$sort, \$order=$order, \$query=$query, \$offset=$offset, \$query_type=$query_type<br>";
|
//print "\$_type=$_type, \$start=$start , \$sort=$sort, \$order=$order, \$query=$query, \$offset=$offset, \$query_type=$query_type<br>";
|
||||||
$query = strtolower($query);
|
$query = strtolower($query);
|
||||||
|
|
||||||
if($_type == 'accounts' || $_type == 'both')
|
if($_type != 'groups')
|
||||||
{
|
{
|
||||||
$filter = "(&(uidnumber=*)(phpgwaccounttype=u)";
|
$filter = "(&(uidnumber=*)(phpgwaccounttype=u)";
|
||||||
if (!empty($query) && $query != '*')
|
if (!empty($query) && $query != '*')
|
||||||
@ -511,7 +511,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ($_type == 'groups' || $_type == 'both')
|
if ($_type != 'accounts')
|
||||||
{
|
{
|
||||||
if(empty($query) || $query == '*')
|
if(empty($query) || $query == '*')
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user