aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2019-08-22 20:29:53 +0200
committerMax Kostikov <max@kostikov.co>2019-08-22 20:29:53 +0200
commit35790c584ba5a67a94556ab67ddd57c76a500084 (patch)
tree381861758472beb7e2692193c40109c3029c7f5c /Zotlabs/Lib
parent09d7cf2cc1d23fc23b084181342192e328234920 (diff)
parent8c96032b2bdef07795e6f2ba6e9312e0ebc9320f (diff)
downloadvolse-hubzilla-35790c584ba5a67a94556ab67ddd57c76a500084.tar.gz
volse-hubzilla-35790c584ba5a67a94556ab67ddd57c76a500084.tar.bz2
volse-hubzilla-35790c584ba5a67a94556ab67ddd57c76a500084.zip
Merge branch 'dev' into 'dev'
possible for DB to return hublocs with no sitekey See merge request hubzilla/core!1713
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r--Zotlabs/Lib/Queue.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Queue.php b/Zotlabs/Lib/Queue.php
index baa1da70d..49891a55b 100644
--- a/Zotlabs/Lib/Queue.php
+++ b/Zotlabs/Lib/Queue.php
@@ -250,7 +250,7 @@ class Queue {
$host_crypto = null;
if($channel && $base) {
- $h = q("select hubloc_sitekey, site_crypto from hubloc left join site on hubloc_url = site_url where site_url = '%s' order by hubloc_id desc limit 1",
+ $h = q("select hubloc_sitekey, site_crypto from hubloc left join site on hubloc_url = site_url where site_url = '%s' and hubloc_sitekey != '' order by hubloc_id desc limit 1",
dbesc($base)
);
if($h) {