aboutsummaryrefslogtreecommitdiffstats
path: root/mod/zfinger.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-03-06 01:29:42 -0800
committerfriendica <info@friendica.com>2014-03-06 01:29:42 -0800
commit8c7e076dae46a81e38620048d1fe3894c1a6d70e (patch)
treeb6de7429391adf798c2bbb172c6f8a4f9b57a79e /mod/zfinger.php
parent020ab09657dcfe61f2f690dac90eef64476433fa (diff)
downloadvolse-hubzilla-8c7e076dae46a81e38620048d1fe3894c1a6d70e.tar.gz
volse-hubzilla-8c7e076dae46a81e38620048d1fe3894c1a6d70e.tar.bz2
volse-hubzilla-8c7e076dae46a81e38620048d1fe3894c1a6d70e.zip
bring friends back
Diffstat (limited to 'mod/zfinger.php')
-rw-r--r--mod/zfinger.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/mod/zfinger.php b/mod/zfinger.php
index 75abfefe4..4f59c1973 100644
--- a/mod/zfinger.php
+++ b/mod/zfinger.php
@@ -182,9 +182,8 @@ function zfinger_init(&$a) {
$permissions = get_all_perms($e['channel_id'],$ztarget_hash,false);
- $permissions['connected'] = false;
-
if($ztarget_hash) {
+ $permissions['connected'] = false;
$b = q("select * from abook where abook_xchan = '%s' and abook_channel = %d limit 1",
dbesc($ztarget_hash),
intval($e['channel_id'])