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:
commit
c45df4e820
@ -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
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user