diff --git a/contact.php b/contact.php index 4b149e9d0..ca9b0f862 100644 --- a/contact.php +++ b/contact.php @@ -95,10 +95,10 @@ if(isset($_POST['send-contactus'])) } -// No errors - so proceed to email the admin and the user (if selected). + // No errors - so proceed to email the admin and the user (if selected). if(!$error) { - $body .= "\n\nIP:\t".USERIP."\n"; + $body .= "\n\nIP:\t".e107::getIPHandler()->getIP(TRUE)."\n"; if (USER) { $body .= "User:\t#".USERID." ".USERNAME."\n";