diff options
author | zotlabs <mike@macgirvin.com> | 2017-04-22 23:15:00 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-04-23 16:38:44 -0700 |
commit | c2ec3b0bf44847d19d95f568c2b23c50e920eb00 (patch) | |
tree | eead6be16df8a3087b30b0f3ddb5b8900a9fbc1d /Zotlabs | |
parent | 02ea713d6a12b767250eba12918018bb72cf4e38 (diff) | |
download | volse-hubzilla-c2ec3b0bf44847d19d95f568c2b23c50e920eb00.tar.gz volse-hubzilla-c2ec3b0bf44847d19d95f568c2b23c50e920eb00.tar.bz2 volse-hubzilla-c2ec3b0bf44847d19d95f568c2b23c50e920eb00.zip |
if there is no site record, site_dead won't be 0, in a left join it will in fact be null. As long as it isn't 1, we should attempt delivery.
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Daemon/Notifier.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Daemon/Notifier.php b/Zotlabs/Daemon/Notifier.php index 48f1d2757..3afe1a5dc 100644 --- a/Zotlabs/Daemon/Notifier.php +++ b/Zotlabs/Daemon/Notifier.php @@ -480,7 +480,7 @@ class Notifier { // Let's reduce this to a set of hubs; checking that the site is not dead. $r = q("select hubloc.*, site.site_crypto from hubloc left join site on site_url = hubloc_url where hubloc_hash in (" . implode(',',$recipients) . ") - and hubloc_error = 0 and hubloc_deleted = 0 and site_dead = 0" + and hubloc_error = 0 and hubloc_deleted = 0 and ( site_dead = 0 OR site_dead is null ) " ); |