"fixed an other accounts_ldap problem: too many entries returned on 2. and further pages"

This commit is contained in:
Ralf Becker 2009-04-23 11:51:07 +00:00
parent 1b27516fbc
commit 0103833728

View File

@ -627,7 +627,7 @@ class accounts_ldap
// if it's a limited query, check if the unlimited query is cached
$start = $param['start'];
if (!($maxmatchs = $GLOBALS['egw_info']['user']['preferences']['common']['maxmatchs'])) $maxmatchs = 15;
if (!($offset = $param['offset'])) $offset = $start + $maxmatchs;
if (!($offset = $param['offset'])) $offset = $maxmatchs;
unset($param['start']);
unset($param['offset']);
$unl_serial = serialize($param);