aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2019-03-24 21:45:23 +0100
committerMario Vavti <mario@mariovavti.com>2019-03-24 21:45:23 +0100
commit0a282072008c219a616fe1f81d8cc604b9162889 (patch)
tree6a9ef5d15ed0bd11dd7f5966da3cd5c5b42d5f93
parent8ca2a5832cd30ae8152f7c56a8705150fcfd8af1 (diff)
downloadvolse-hubzilla-0a282072008c219a616fe1f81d8cc604b9162889.tar.gz
volse-hubzilla-0a282072008c219a616fe1f81d8cc604b9162889.tar.bz2
volse-hubzilla-0a282072008c219a616fe1f81d8cc604b9162889.zip
fix wrong field name
-rw-r--r--include/hubloc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/hubloc.php b/include/hubloc.php
index 7cb00f788..3fed46495 100644
--- a/include/hubloc.php
+++ b/include/hubloc.php
@@ -311,7 +311,7 @@ function z6_discover() {
// find unregistered zot6 clone hublocs
- $c = q("select channel_hash, portable_id from channel where channel_deleted = 0");
+ $c = q("select channel_hash, channel_portable_id from channel where channel_deleted = 0");
if ($c) {
foreach ($c as $entry) {
$q1 = q("select * from hubloc left join site on hubloc_url = site_url where hubloc_deleted = 0 and site_dead = 0 and hubloc_hash = '%s' and hubloc_url != '%s'",
@@ -340,4 +340,4 @@ function z6_discover() {
}
}
-} \ No newline at end of file
+}