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:
@@ -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";
|
||||
|
Reference in New Issue
Block a user