1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

Merge pull request #6032 from marc1706/ticket/16559

[ticket/16559] Ensure event variables are defined in mcp_queue
This commit is contained in:
Marc Alexander
2020-08-02 17:18:50 +02:00

View File

@@ -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
*