diff --git a/classes/userhelper.php b/classes/userhelper.php index 4cc6768db..6a80aed2b 100644 --- a/classes/userhelper.php +++ b/classes/userhelper.php @@ -139,7 +139,7 @@ class UserHelper { } static function get_user_ip() { - foreach (["HTTP_X_REAL_IP", "REMOTE_ADDR", "REMOTEADDR"] as $hdr) { + foreach (["HTTP_X_REAL_IP", "REMOTE_ADDR"] as $hdr) { if (isset($_SERVER[$hdr])) return $_SERVER[$hdr]; }