aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Daemon
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2021-11-30 10:50:31 +0100
committerMario Vavti <mario@mariovavti.com>2021-11-30 10:50:31 +0100
commit39458b2ba8d5330770e90831babb4924ab116454 (patch)
treeb1aa2f37fe46ee8c35a1f5aef62cf38685a49afd /Zotlabs/Daemon
parent5de38b3632a471a7e886bba93542ceb8c8dc7e82 (diff)
downloadvolse-hubzilla-39458b2ba8d5330770e90831babb4924ab116454.tar.gz
volse-hubzilla-39458b2ba8d5330770e90831babb4924ab116454.tar.bz2
volse-hubzilla-39458b2ba8d5330770e90831babb4924ab116454.zip
fix hubloc_site_id in fix_system_urls() on detected site rename events and during sync_locations() if it changed or was stored incorrectly.
Diffstat (limited to 'Zotlabs/Daemon')
-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 11b890696..4ca109495 100644
--- a/Zotlabs/Daemon/Notifier.php
+++ b/Zotlabs/Daemon/Notifier.php
@@ -488,7 +488,7 @@ class Notifier {
// Now we have collected recipients (except for external mentions, FIXME)
// Let's reduce this to a set of hubs; checking that the site is not dead.
- $hubs = q("select hubloc.*, site.site_crypto, site.site_flags, site.site_dead from hubloc left join site on site_url = hubloc_url
+ $hubs = dbq("select hubloc.*, site.site_crypto, site.site_flags, site.site_dead from hubloc left join site on site_url = hubloc_url
where hubloc_hash in (" . protect_sprintf(implode(',', self::$recipients)) . ")
and hubloc_error = 0 and hubloc_deleted = 0"
);