aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/mcp/mcp_queue.php
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2010-09-22 21:58:20 +0200
committerIgor Wiedler <igor@wiedler.ch>2010-09-25 20:32:15 +0200
commitfccd7f0ab5ab559dc89be6af9e582a986af8bb13 (patch)
tree65b2c96dc13203a75f104d3ee2b79b0756bc4631 /phpBB/includes/mcp/mcp_queue.php
parent15883dfac22c8a5660c0400c565ba980eaf6f618 (diff)
downloadforums-fccd7f0ab5ab559dc89be6af9e582a986af8bb13.tar
forums-fccd7f0ab5ab559dc89be6af9e582a986af8bb13.tar.gz
forums-fccd7f0ab5ab559dc89be6af9e582a986af8bb13.tar.bz2
forums-fccd7f0ab5ab559dc89be6af9e582a986af8bb13.tar.xz
forums-fccd7f0ab5ab559dc89be6af9e582a986af8bb13.zip
[feature/request-class] Convert any direct access to $_* to use $request
PHPBB3-9716
Diffstat (limited to 'phpBB/includes/mcp/mcp_queue.php')
-rw-r--r--phpBB/includes/mcp/mcp_queue.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/includes/mcp/mcp_queue.php b/phpBB/includes/mcp/mcp_queue.php
index c419da5574..dc34f04db4 100644
--- a/phpBB/includes/mcp/mcp_queue.php
+++ b/phpBB/includes/mcp/mcp_queue.php
@@ -744,6 +744,7 @@ function disapprove_post($post_id_list, $id, $mode)
{
global $db, $template, $user, $config;
global $phpEx, $phpbb_root_path;
+ global $request;
if (!check_ids($post_id_list, POSTS_TABLE, 'post_id', array('m_approve')))
{
@@ -778,7 +779,7 @@ function disapprove_post($post_id_list, $id, $mode)
if (!$row || (!$reason && strtolower($row['reason_title']) == 'other'))
{
$additional_msg = $user->lang['NO_REASON_DISAPPROVAL'];
- unset($_POST['confirm']);
+ $request->overwrite('confirm', null, phpbb_request_interface::POST);
}
else
{