From 82331b1c617b448aba23fff7eab83dd934f6a9ec Mon Sep 17 00:00:00 2001 From: plegall Date: Mon, 27 Nov 2023 16:03:12 +0100 Subject: [PATCH] (cp 09d3012) 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 86457c84b..d502c9388 100644 --- a/include/ws_functions/pwg.php +++ b/include/ws_functions/pwg.php @@ -912,6 +912,7 @@ SELECT continue; } + $user_name = '#unknown'; $user_string = ''; if (isset($username_of[$line['user_id']])) {