diff options
Diffstat (limited to 'phpBB/includes/mcp/mcp_queue.php')
-rw-r--r-- | phpBB/includes/mcp/mcp_queue.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/phpBB/includes/mcp/mcp_queue.php b/phpBB/includes/mcp/mcp_queue.php index 48bcd044f5..b94c838d43 100644 --- a/phpBB/includes/mcp/mcp_queue.php +++ b/phpBB/includes/mcp/mcp_queue.php @@ -484,7 +484,7 @@ function approve_post($post_id_list, $id, $mode) if (confirm_box(true)) { - $notify_poster = (isset($_REQUEST['notify_poster'])) ? true : false; + $notify_poster = request::is_set('notify_poster'); // If Topic -> total_topics = total_topics+1, total_posts = total_posts+1, forum_topics = forum_topics+1, forum_posts = forum_posts+1 // If Post -> total_posts = total_posts+1, forum_posts = forum_posts+1, topic_replies = topic_replies+1 @@ -803,7 +803,7 @@ function disapprove_post($post_id_list, $id, $mode) 'redirect' => $redirect) ); - $notify_poster = (isset($_REQUEST['notify_poster'])) ? true : false; + $notify_poster = request::is_set('notify_poster'); $disapprove_reason = ''; if ($reason_id) @@ -818,7 +818,6 @@ 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']); } else { @@ -837,7 +836,7 @@ function disapprove_post($post_id_list, $id, $mode) $post_info = get_post_data($post_id_list, 'm_approve'); - if (confirm_box(true)) + if (!$additional_message && confirm_box(true)) { // If Topic -> forum_topics_real -= 1 |