aboutsummaryrefslogtreecommitdiffstats
path: root/mod/directory.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/directory.php')
-rw-r--r--mod/directory.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/directory.php b/mod/directory.php
index f19b1142e..329e255cf 100644
--- a/mod/directory.php
+++ b/mod/directory.php
@@ -252,7 +252,7 @@ function directory_content(&$a) {
'public_forum' => $rr['public_forum'],
'photo' => $rr['photo'],
'hash' => $rr['hash'],
- 'alttext' => $rr['name'] . ' ' . $rr['address'],
+ 'alttext' => $rr['name'] . ((local_channel() || remote_channel()) ? ' ' . $rr['address'] : ''),
'name' => $rr['name'],
'details' => $pdesc . $details,
'profile' => $profile,