aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-02-24 10:07:14 +0100
committerMario Vavti <mario@mariovavti.com>2017-02-24 10:07:14 +0100
commit65e18f5b8fa4da55b398b15d0a3832438d1db002 (patch)
tree7e81ad1c16bd106c321f1269439f904e2e244e25 /Zotlabs
parente9243e9660896ce059a6907230169c82e3b1a0be (diff)
downloadvolse-hubzilla-65e18f5b8fa4da55b398b15d0a3832438d1db002.tar.gz
volse-hubzilla-65e18f5b8fa4da55b398b15d0a3832438d1db002.tar.bz2
volse-hubzilla-65e18f5b8fa4da55b398b15d0a3832438d1db002.zip
use chanlink_url() in directory since the xchan might not yet be available on our server
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Directory.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Directory.php b/Zotlabs/Module/Directory.php
index 583154526..59ae88857 100644
--- a/Zotlabs/Module/Directory.php
+++ b/Zotlabs/Module/Directory.php
@@ -206,7 +206,7 @@ class Directory extends \Zotlabs\Web\Controller {
foreach($j['results'] as $rr) {
- $profile_link = chanlink_hash($rr['hash']);
+ $profile_link = chanlink_url($rr['url']);
$pdesc = (($rr['description']) ? $rr['description'] . '<br />' : '');
$connect_link = ((local_channel()) ? z_root() . '/follow?f=&url=' . urlencode($rr['address']) : '');