diff --git a/include/functions.php b/include/functions.php index d5e5148f..a0c03ec6 100644 --- a/include/functions.php +++ b/include/functions.php @@ -1736,7 +1736,7 @@ function get_ip_location($ip) * @since 1.7.4 */ $arr = get_ip_location_from_geoip($ip); - $result = array($arr["name"], $lang_functions['text_user_ip'] . ": " . $ip); + $result = array($arr["name"], $lang_functions['text_user_ip'] . ": " . trim($ip, ',')); return $locations[$ip] = $result; $cacheKey = "location_$ip";