From 1076c7edcb99459e1d9b41433ea0247939dcaad3 Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Sat, 7 Sep 2024 06:45:18 +1000 Subject: [PATCH] only fix site signature issues in hublocs for zot6/nomad entities --- include/hubloc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/hubloc.php b/include/hubloc.php index da17f41d0..bebbd041c 100644 --- a/include/hubloc.php +++ b/include/hubloc.php @@ -129,12 +129,12 @@ function check_hublocs() $interval = Config::Get('system', 'delivery_interval', 2); $wrong_urls = q( - "select hubloc_id from hubloc where hubloc_sitekey = '%s' and hubloc_url != '%s'", + "select hubloc_id from hubloc where hubloc_sitekey = '%s' and hubloc_url != '%s' and hubloc_network in ('zot6', 'nomad')", dbesc($sitekey), dbesc(z_root()) ); $wrong_keys = q( - "select hubloc_id from hubloc where hubloc_sitekey != '%s' and hubloc_url = '%s'", + "select hubloc_id from hubloc where hubloc_sitekey != '%s' and hubloc_url = '%s' and hubloc_network in ('zot6', 'nomad')", dbesc($sitekey), dbesc(z_root()) );