From fa636e35e0043cfc2f869f7545be348d711c870d Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Sun, 2 Aug 2020 13:55:06 +0200 Subject: [PATCH] [ticket/16559] Ensure event variables are defined in mcp_queue PHPBB3-16559 --- phpBB/includes/mcp/mcp_queue.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/phpBB/includes/mcp/mcp_queue.php b/phpBB/includes/mcp/mcp_queue.php index 7f8719c392..a56a3266de 100644 --- a/phpBB/includes/mcp/mcp_queue.php +++ b/phpBB/includes/mcp/mcp_queue.php @@ -156,6 +156,7 @@ class mcp_queue $post_id = $request->variable('p', 0); $topic_id = $request->variable('t', 0); + $topic_info = []; /* @var $phpbb_notifications \phpbb\notification\manager */ $phpbb_notifications = $phpbb_container->get('notification_manager'); @@ -1433,6 +1434,8 @@ class mcp_queue } } + $disapprove_reason_lang = $disapprove_reason_lang ?? ''; + /** * Perform additional actions during post(s) disapproval *