aboutsummaryrefslogtreecommitdiffstats
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:08:09 +0100
commitcf11a89457d6953144efd71d2ca8f4bda88cfaf7 (patch)
tree83e2ea2c0a5f5bccfbe32e31f2103e265f4a0ad5
parent732dfa63c783fe2e965d1051e0dea587b17aafa6 (diff)
downloadvolse-hubzilla-cf11a89457d6953144efd71d2ca8f4bda88cfaf7.tar.gz
volse-hubzilla-cf11a89457d6953144efd71d2ca8f4bda88cfaf7.tar.bz2
volse-hubzilla-cf11a89457d6953144efd71d2ca8f4bda88cfaf7.zip
use chanlink_url() in directory since the xchan might not yet be available on our server
-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']) : '');