use chanlink_url() in directory since the xchan might not yet be available on our server
This commit is contained in:
parent
732dfa63c7
commit
cf11a89457
@ -206,7 +206,7 @@ class Directory extends \Zotlabs\Web\Controller {
|
|||||||
|
|
||||||
foreach($j['results'] as $rr) {
|
foreach($j['results'] as $rr) {
|
||||||
|
|
||||||
$profile_link = chanlink_hash($rr['hash']);
|
$profile_link = chanlink_url($rr['url']);
|
||||||
|
|
||||||
$pdesc = (($rr['description']) ? $rr['description'] . '<br />' : '');
|
$pdesc = (($rr['description']) ? $rr['description'] . '<br />' : '');
|
||||||
$connect_link = ((local_channel()) ? z_root() . '/follow?f=&url=' . urlencode($rr['address']) : '');
|
$connect_link = ((local_channel()) ? z_root() . '/follow?f=&url=' . urlencode($rr['address']) : '');
|
||||||
|
Reference in New Issue
Block a user