1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 20:30:39 +02:00

#740 - IP address in contact email now displays in IPv4 format if possible

This commit is contained in:
Moc
2014-08-24 13:34:00 +02:00
parent 361c471bc7
commit 4265dc5171

View File

@@ -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";