fix the query of last pullrequest

This commit is contained in:
Mario Vavti 2017-04-23 17:22:28 +02:00
parent ac12f923ea
commit bda9a833ba

View File

@ -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 OR site_dead is null ) "
and hubloc_error = 0 and hubloc_deleted = 0 and ( site_dead = 0 OR site_dead = null ) "
);