aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-04-22 23:15:00 -0700
committerzotlabs <mike@macgirvin.com>2017-04-23 17:13:38 -0700
commita84695bb866574f0e66471dbbd70668e8f9c2b41 (patch)
tree37c213a0cd36162f03b7f510970ed43f4cd6fcbc /Zotlabs
parent1d271ee771afd69d363dcae0223a891c6503f86a (diff)
downloadvolse-hubzilla-a84695bb866574f0e66471dbbd70668e8f9c2b41.tar.gz
volse-hubzilla-a84695bb866574f0e66471dbbd70668e8f9c2b41.tar.bz2
volse-hubzilla-a84695bb866574f0e66471dbbd70668e8f9c2b41.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.php2
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 ) "
);