From 01038337284745b81f4380d0aa751e843c73742d Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 23 Apr 2009 11:51:07 +0000 Subject: [PATCH] "fixed an other accounts_ldap problem: too many entries returned on 2. and further pages" --- phpgwapi/inc/class.accounts_ldap.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.accounts_ldap.inc.php b/phpgwapi/inc/class.accounts_ldap.inc.php index 796acf9174..c8fbcc9dba 100644 --- a/phpgwapi/inc/class.accounts_ldap.inc.php +++ b/phpgwapi/inc/class.accounts_ldap.inc.php @@ -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);