From 0a282072008c219a616fe1f81d8cc604b9162889 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sun, 24 Mar 2019 21:45:23 +0100 Subject: fix wrong field name --- include/hubloc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') 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 +} -- cgit v1.2.3