From 9bfcaf26695190e715b221ca5e78e8d7894d62af Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 6 Oct 2021 08:05:16 +0000 Subject: do not show duplicate entries for dead hubs --- Zotlabs/Daemon/Notifier.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Zotlabs') diff --git a/Zotlabs/Daemon/Notifier.php b/Zotlabs/Daemon/Notifier.php index cdb54d37e..d1b637384 100644 --- a/Zotlabs/Daemon/Notifier.php +++ b/Zotlabs/Daemon/Notifier.php @@ -538,7 +538,9 @@ class Notifier { foreach ($hubs as $hub) { if (isset($hub['site_dead']) && intval($hub['site_dead'])) { - $dead[] = $hub; + if(!in_array($hub, $dead)) { + $dead[] = $hub; + } continue; } -- cgit v1.2.3