]> git.mxchange.org Git - friendica.git/commitdiff
Merge pull request #9522 from MrPetovan/bug/ap-blocked-followers
authorMichael Vogel <icarus@dabo.de>
Wed, 11 Nov 2020 14:28:04 +0000 (15:28 +0100)
committerGitHub <noreply@github.com>
Wed, 11 Nov 2020 14:28:04 +0000 (15:28 +0100)
Prevent ActivityPub message transmission to blocked followers

src/Module/Conversation/Network.php

index 8fe3dca92f0624fb3fde1fec03480961503a4e4e..2c1bb2d8e4d59cb6dddf93bd6548456fb5770fe0 100644 (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
                        );