From 4782adb6cc83a3581cd7fa523f2150e3d066c95a Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Thu, 27 Jun 2024 15:34:09 +0700 Subject: [PATCH] Update functions.php --- library/includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }