From 09d30129cdae8b4a1cb5a38c08bddb4bbc6f56c2 Mon Sep 17 00:00:00 2001 From: plegall Date: Mon, 27 Nov 2023 16:02:01 +0100 Subject: [PATCH] fixes #2050 provide a default user_name for pwg.history.search --- include/ws_functions/pwg.php | 1 + 1 file changed, 1 insertion(+) diff --git a/include/ws_functions/pwg.php b/include/ws_functions/pwg.php index 9d97ca9a3..f4fdcda69 100644 --- a/include/ws_functions/pwg.php +++ b/include/ws_functions/pwg.php @@ -927,6 +927,7 @@ SELECT continue; } + $user_name = '#unknown'; $user_string = ''; if (isset($username_of[$line['user_id']])) {