mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-16 14:00:56 +08:00
trim ip ,
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user