aboutsummaryrefslogtreecommitdiffstats
path: root/mod/directory.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-06-29 16:56:45 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-06-29 16:56:45 -0700
commit2072ea721fa26b8e5f7dd4067434951b738de92b (patch)
tree5b81631172442be3b1fc013d8956d1b1ed91737e /mod/directory.php
parent0b012e2995322d571ba2764055a48a16f4a98c39 (diff)
parentaad8fc19465e531c89ab1cd2b45f7d3c00cb4a55 (diff)
downloadvolse-hubzilla-2072ea721fa26b8e5f7dd4067434951b738de92b.tar.gz
volse-hubzilla-2072ea721fa26b8e5f7dd4067434951b738de92b.tar.bz2
volse-hubzilla-2072ea721fa26b8e5f7dd4067434951b738de92b.zip
Merge https://github.com/redmatrix/redmatrix into pending_merge
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,