Suppress notice when network page is empty

This commit is contained in:
Hypolite Petovan 2020-11-11 03:05:12 -05:00
parent 7fcaa1f239
commit 4fce6a919f

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
);