diff --git a/public/viewpeerlist.php b/public/viewpeerlist.php
index 6c599a24..6538bd75 100644
--- a/public/viewpeerlist.php
+++ b/public/viewpeerlist.php
@@ -31,7 +31,7 @@ function get_location_column($e, $isStrongPrivacy, $canView): string
}
$title = sprintf('%s%s%s', $lang_functions['text_user_ip'], ': ', implode(', ', $ips));
$addressStr = implode('
', $address);
- $location = "
" . $addressStr . "
";
+ $location = ''.$addressStr.'
';
} else {
if (!empty($e['ipv4'])) {
$ips[] = $e['ipv4'] . $seedBoxRep->renderIcon($e['ipv4'], $e['userid']);
@@ -39,13 +39,13 @@ function get_location_column($e, $isStrongPrivacy, $canView): string
if (!empty($e['ipv6'])) {
$ips[] = $e['ipv6'] . $seedBoxRep->renderIcon($e['ipv6'], $e['userid']);
}
- $location = ''.implode('
', $ips).'
';
+ $location = ''.implode('
', $ips).'
';
}
if ($isStrongPrivacy) {
- $result = ''.$lang_viewpeerlist['text_anonymous'].'
';
+ $result = ''.$lang_viewpeerlist['text_anonymous'].'
';
if ($canView) {
- $result .= $location;
+ $result = $location . $result;
}
} else {
$result = $location;