aboutsummaryrefslogtreecommitdiffstats
path: root/include/hubloc.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2022-10-20 11:15:06 +0200
committerMario Vavti <mario@mariovavti.com>2022-10-20 11:15:06 +0200
commit53931017b99c6fc77fc7632747e51b06a89b2287 (patch)
tree26357decc1d3a76471863b3f58a0a0455d637e33 /include/hubloc.php
parente9ca17cec14c5a702cc7d656e5206a3c086dd550 (diff)
downloadvolse-hubzilla-53931017b99c6fc77fc7632747e51b06a89b2287.tar.gz
volse-hubzilla-53931017b99c6fc77fc7632747e51b06a89b2287.tar.bz2
volse-hubzilla-53931017b99c6fc77fc7632747e51b06a89b2287.zip
fix php warnings
Diffstat (limited to 'include/hubloc.php')
-rw-r--r--include/hubloc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/hubloc.php b/include/hubloc.php
index 6401d1f0d..bf5d8f120 100644
--- a/include/hubloc.php
+++ b/include/hubloc.php
@@ -137,11 +137,11 @@ function remove_obsolete_hublocs() {
// Do we have any invalid ones?
- $r = q("select hubloc_id from hubloc where hubloc_sitekey = '%s' and hubloc_url != '%s'",
+ $r = q("select hubloc_id, hubloc_hash from hubloc where hubloc_sitekey = '%s' and hubloc_url != '%s'",
dbesc(get_config('system', 'pubkey')),
dbesc(z_root())
);
- $p = q("select hubloc_id from hubloc where hubloc_sitekey != '%s' and hubloc_url = '%s'",
+ $p = q("select hubloc_id, hubloc_hash from hubloc where hubloc_sitekey != '%s' and hubloc_url = '%s'",
dbesc(get_config('system', 'pubkey')),
dbesc(z_root())
);