From c17338925de7097b5dab4248d271a2e8fc28d391 Mon Sep 17 00:00:00 2001 From: Arno Streuli Date: Tue, 12 May 2026 14:38:25 +0200 Subject: [PATCH] Update syslog_reports.php Correct the call to get_username, based on the comment of TheWitness Add the argument $_SESSION['sess_user_id'] --- syslog_reports.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syslog_reports.php b/syslog_reports.php index 048fbc8..fd7b212 100644 --- a/syslog_reports.php +++ b/syslog_reports.php @@ -253,7 +253,7 @@ function api_syslog_report_save($id, $name, $type, $message, $timespan, $timepar global $config, $syslogdb_default; // get the username - $username = get_username(); + $username = get_username($_SESSION['sess_user_id']); if ($id) { $save['id'] = $id;