From 7ef439763428c7bea7dd2d70f358cf27128f3c79 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Mon, 29 Jun 2015 14:25:04 +0200 Subject: fix directory location --- mod/directory.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'mod/directory.php') 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, -- cgit v1.2.3