diff --git a/WEBROOT/modules/Mail.php b/WEBROOT/modules/Mail.php index 19adaef..f966654 100644 --- a/WEBROOT/modules/Mail.php +++ b/WEBROOT/modules/Mail.php @@ -14,11 +14,12 @@ function sendMail($subject, $message, $url, bool $log) { if ($log == true) { DatabaseInsert( "Mailing", - "Datum, SUBJECT, MESSAGE, URL", + "Datum, SUBJECT, MESSAGE, URL, CLIENT_IP", (new getSpecificData())->getRequestTime(), $subject, $message, - $url + $url, + (new getSpecificData())->getClientIP(), ); } } \ No newline at end of file