aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-11-01 21:32:28 +0100
committerMario Vavti <mario@mariovavti.com>2015-11-01 21:32:28 +0100
commit5acfef8edb0b8f0b9a600ad192d38eae5e1fa69b (patch)
tree3124976193255c1e9f44736549cf50ac8d72b57e
parent7ce3ebc46d3c0b007dd846adaa4097c69d26d0eb (diff)
downloadvolse-hubzilla-5acfef8edb0b8f0b9a600ad192d38eae5e1fa69b.tar.gz
volse-hubzilla-5acfef8edb0b8f0b9a600ad192d38eae5e1fa69b.tar.bz2
volse-hubzilla-5acfef8edb0b8f0b9a600ad192d38eae5e1fa69b.zip
since other networks do not support cloning we only need hublocs for zot contacts - fix #111
-rw-r--r--mod/connedit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/connedit.php b/mod/connedit.php
index c3fcc6d54..c8f83b0e8 100644
--- a/mod/connedit.php
+++ b/mod/connedit.php
@@ -654,7 +654,7 @@ function connedit_content(&$a) {
$locstr = '';
- $locs = q("select hubloc_addr as location from hubloc where hubloc_hash = '%s'",
+ $locs = q("select hubloc_addr as location from hubloc where hubloc_hash = '%s' and hubloc_network = 'zot'",
dbesc($contact['xchan_hash'])
);