Fix Undefined array key.

- Address https://github.com/friendica/friendica/issues/13761#issuecomment-1878806230
This commit is contained in:
Dr. Tobias Quathamer 2024-01-11 23:38:29 +01:00
parent b515292b1c
commit 5cd5fa8403

View File

@ -132,8 +132,8 @@ class Community extends Timeline
$pager = new BoundariesPager(
$this->l10n,
$this->args->getQueryString(),
$items[0]['received'],
$items[count($items) - 1]['received'],
$items[array_key_first($items)]['received'],
$items[array_key_last($items)]['received'],
$this->itemsPerPage
);