diff options
Diffstat (limited to 'include/notifier.php')
-rw-r--r-- | include/notifier.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/notifier.php b/include/notifier.php index 0c7a15452..47072415b 100644 --- a/include/notifier.php +++ b/include/notifier.php @@ -477,11 +477,13 @@ function notifier_run($argv, $argc){ where hubloc_hash in (" . implode(',',$recipients) . ") group by hubloc_sitekey order by hubloc_connected desc limit 1"); } else { + $r = q("select hubloc_guid, hubloc_url, hubloc_sitekey, hubloc_network, hubloc_flags, hubloc_callback, hubloc_host from hubloc where hubloc_hash in (" . implode(',',$recipients) . ") and not (hubloc_flags & %d) and not (hubloc_status & %d) group by hubloc_sitekey", intval(HUBLOC_FLAGS_DELETED), intval(HUBLOC_OFFLINE) ); + } if(! $r) { |