mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[ticket/9657] Fix missing global $phpbb_container
PHPBB3-9657
This commit is contained in:
parent
cd95d3abf7
commit
f6dd688e72
1 changed files with 1 additions and 1 deletions
|
@ -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')))
|
||||||
|
|
Loading…
Add table
Reference in a new issue