forked from extern/egroupware
fixed error "no accounts/groups shown in admin", reported by Max.Bidlingmaier-at-EasternGraphics.com, if maxmatches not set
This commit is contained in:
parent
906fa09848
commit
7c8c49cdff
@ -585,7 +585,9 @@
|
|||||||
}
|
}
|
||||||
elseif(is_numeric($start))
|
elseif(is_numeric($start))
|
||||||
{
|
{
|
||||||
return array_slice($sortedAccounts, $start, $GLOBALS['egw_info']['user']['preferences']['common']['maxmatchs']);
|
if (!($maxmatches = $GLOBALS['egw_info']['user']['preferences']['common']['maxmatchs'])) $maxmatches = 15;
|
||||||
|
|
||||||
|
return array_slice($sortedAccounts, $start, $maxmatchs);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user