mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-27 13:22:06 +02:00
typo
This commit is contained in:
parent
e9c61d87d9
commit
3d4c680760
@ -506,7 +506,7 @@ class accounts_backend
|
|||||||
* @param string $query_type
|
* @param string $query_type
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
function get_list($_type='both', $start = '',$sort = '', $order = '', $query = '', $offset = null, $query_type='')
|
function get_list($_type='both', $start = null,$sort = '', $order = '', $query = '', $offset = null, $query_type='')
|
||||||
{
|
{
|
||||||
//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 = ldap::quote(strtolower($query));
|
$query = ldap::quote(strtolower($query));
|
||||||
@ -611,7 +611,7 @@ class accounts_backend
|
|||||||
}
|
}
|
||||||
elseif(is_numeric($start))
|
elseif(is_numeric($start))
|
||||||
{
|
{
|
||||||
if (!($maxmatches = $GLOBALS['egw_info']['user']['preferences']['common']['maxmatchs'])) $maxmatches = 15;
|
if (!($maxmatchs = $GLOBALS['egw_info']['user']['preferences']['common']['maxmatchs'])) $maxmatchs = 15;
|
||||||
|
|
||||||
return array_slice($sortedAccounts, $start, $maxmatchs);
|
return array_slice($sortedAccounts, $start, $maxmatchs);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user