mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 14:57:37 +02:00
[ticket/9657] Fix missing global $phpbb_container
PHPBB3-9657
This commit is contained in:
@@ -904,7 +904,7 @@ class mcp_queue
|
|||||||
*/
|
*/
|
||||||
static public function disapprove_posts($post_id_list, $id, $mode)
|
static public function disapprove_posts($post_id_list, $id, $mode)
|
||||||
{
|
{
|
||||||
global $db, $template, $user, $config;
|
global $db, $template, $user, $config, $phpbb_container;
|
||||||
global $phpEx, $phpbb_root_path, $request;
|
global $phpEx, $phpbb_root_path, $request;
|
||||||
|
|
||||||
if (!check_ids($post_id_list, POSTS_TABLE, 'post_id', array('m_approve')))
|
if (!check_ids($post_id_list, POSTS_TABLE, 'post_id', array('m_approve')))
|
||||||
|
Reference in New Issue
Block a user