update: client ip logging when mail

This commit is contained in:
Tower committed 2026-03-15 17:36:47 +01:00
1 parent e0a4f9ff77
commit 4b30f00872
1 file changed
+3 -2
+3 -2
View File
@@ -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(),
);
}
}