diff --git a/library/includes/functions.php b/library/includes/functions.php index 2d0e5d5c..8059577f 100644 --- a/library/includes/functions.php +++ b/library/includes/functions.php @@ -982,7 +982,7 @@ function bt_show_ip ($ip, $port = '') if (IS_AM) { - $ip = decode_ip($ip); + $ip = (!$port) ? '' . decode_ip($ip) . '' : decode_ip($ip); $ip .= ($port) ? ":$port" : ''; return $ip; }