Update functions.php

This commit is contained in:
Roman Kelesidis 2024-06-27 15:34:09 +07:00
parent 30f0508f8c
commit 4782adb6cc

View File

@ -982,7 +982,7 @@ function bt_show_ip ($ip, $port = '')
if (IS_AM) if (IS_AM)
{ {
$ip = decode_ip($ip); $ip = (!$port) ? '<a href="' . $bb_cfg['whois_info'] . decode_ip($ip) . '" class="gen" target="_blank">' . decode_ip($ip) . '</a>' : decode_ip($ip);
$ip .= ($port) ? ":$port" : ''; $ip .= ($port) ? ":$port" : '';
return $ip; return $ip;
} }