From 9df18a8cb5935b80ae4adc0f6e1191cc78003d3a Mon Sep 17 00:00:00 2001 From: Arno Streuli Date: Tue, 12 May 2026 14:37:36 +0200 Subject: [PATCH] Update syslog_removal.php Correct the call to get_username, based on the comment of TheWitness Add the argument $_SESSION['sess_user_id'] --- syslog_removal.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syslog_removal.php b/syslog_removal.php index b92193e..e047e68 100644 --- a/syslog_removal.php +++ b/syslog_removal.php @@ -283,7 +283,7 @@ function api_syslog_removal_save($id, $name, $type, $message, $rmethod, $notes, global $syslogdb_default; // get the username - $username = get_username(); + $username = get_username($_SESSION['sess_user_id']); if ($id) { $save['id'] = $id;