1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-14 12:52:08 +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
commit c45df4e820
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995

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
*