Merge pull request #9523 from MrPetovan/bug/notices

Suppress notice when network page is empty
This commit is contained in:
Michael Vogel 2020-11-11 15:16:58 +01:00 committed by GitHub
commit f41139bd05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -192,8 +192,8 @@ class Network extends BaseModule
$pager = new BoundariesPager(
DI::l10n(),
DI::args()->getQueryString(),
$items[0][self::$order],
$items[count($items) - 1][self::$order],
$items[0][self::$order] ?? null,
$items[count($items) - 1][self::$order] ?? null,
self::$itemsPerPage
);