mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
Merge branch 'develop-olympus' into develop
* develop-olympus: [ticket/9956] Display error message if no disapprove reason given Conflicts: phpBB/includes/mcp/mcp_queue.php
This commit is contained in:
@@ -216,6 +216,7 @@ class mcp_queue
|
||||
'POST_IP' => $post_info['poster_ip'],
|
||||
'POST_IPADDR' => ($auth->acl_get('m_info', $post_info['forum_id']) && request_var('lookup', '')) ? @gethostbyaddr($post_info['poster_ip']) : '',
|
||||
'POST_ID' => $post_info['post_id'],
|
||||
'S_FIRST_POST' => ($post_info['topic_first_post_id'] == $post_id),
|
||||
|
||||
'U_LOOKUP_IP' => ($auth->acl_get('m_info', $post_info['forum_id'])) ? append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=queue&mode=approve_details&f=' . $post_info['forum_id'] . '&p=' . $post_id . '&lookup=' . $post_info['poster_ip']) . '#ip' : '',
|
||||
));
|
||||
@@ -754,7 +755,10 @@ function disapprove_post($post_id_list, $id, $mode)
|
||||
if (!$row || (!$reason && strtolower($row['reason_title']) == 'other'))
|
||||
{
|
||||
$additional_msg = $user->lang['NO_REASON_DISAPPROVAL'];
|
||||
|
||||
$request->overwrite('confirm', null, phpbb_request_interface::POST);
|
||||
$request->overwrite('confirm_key', null, phpbb_request_interface::POST);
|
||||
$request->overwrite('confirm_key', null, phpbb_request_interface::REQUEST);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user