diff --git a/phpgwapi/inc/class.accounts_ldap.inc.php b/phpgwapi/inc/class.accounts_ldap.inc.php index 8dc984f30c..8e566718b6 100644 --- a/phpgwapi/inc/class.accounts_ldap.inc.php +++ b/phpgwapi/inc/class.accounts_ldap.inc.php @@ -585,7 +585,7 @@ } 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); }