mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-27 21:32:46 +02:00
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
b67d241224
commit
c094f15db4
@ -611,7 +611,9 @@ class accounts_backend
|
|||||||
}
|
}
|
||||||
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…
x
Reference in New Issue
Block a user