aboutsummaryrefslogtreecommitdiffstats
path: root/mod/directory.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/directory.php')
-rw-r--r--mod/directory.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/mod/directory.php b/mod/directory.php
index fa328462c..6d066a21b 100644
--- a/mod/directory.php
+++ b/mod/directory.php
@@ -210,7 +210,7 @@ function directory_content(&$a) {
$location .= $rr['region'];
}
if(strlen($rr['country'])) {
- if(strlen($details))
+ if(strlen($location))
$location .= ', ';
$location .= $rr['country'];
}
@@ -286,7 +286,6 @@ function directory_content(&$a) {
'hash' => $rr['hash'],
'alttext' => $rr['name'] . ((local_channel() || remote_channel()) ? ' ' . $rr['address'] : ''),
'name' => $rr['name'],
- 'details' => $details,
'age' => $age,
'age_label' => t('Age:'),
'profile' => $profile,