hubloc filtering to eliminate dead and deleted entries
This commit is contained in:
parent
d3183467e0
commit
14e92f53f1
@ -654,7 +654,8 @@ function connedit_content(&$a) {
|
|||||||
|
|
||||||
$locstr = '';
|
$locstr = '';
|
||||||
|
|
||||||
$locs = q("select hubloc_addr as location from hubloc where hubloc_hash = '%s' and hubloc_network = 'zot'",
|
$locs = q("select hubloc_addr as location from hubloc left join site on hubloc_url = site_url where hubloc_hash = '%s'
|
||||||
|
and hubloc_network = 'zot' and hubloc_deleted = 0 and site_dead = 0",
|
||||||
dbesc($contact['xchan_hash'])
|
dbesc($contact['xchan_hash'])
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user