diff options
author | Mario <mario@mariovavti.com> | 2021-10-06 08:05:16 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-10-06 08:05:16 +0000 |
commit | 9bfcaf26695190e715b221ca5e78e8d7894d62af (patch) | |
tree | a18b0507e8b8efd443763f1557e23f6c8c36f10d /Zotlabs/Daemon | |
parent | af05ee7e1c45152438bf6846bdfaae94cc4dcb4d (diff) | |
download | volse-hubzilla-9bfcaf26695190e715b221ca5e78e8d7894d62af.tar.gz volse-hubzilla-9bfcaf26695190e715b221ca5e78e8d7894d62af.tar.bz2 volse-hubzilla-9bfcaf26695190e715b221ca5e78e8d7894d62af.zip |
do not show duplicate entries for dead hubs
Diffstat (limited to 'Zotlabs/Daemon')
-rw-r--r-- | Zotlabs/Daemon/Notifier.php | 4 |
1 files changed, 3 insertions, 1 deletions
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; } |