diff options
Diffstat (limited to 'phpBB/includes')
| -rw-r--r-- | phpBB/includes/mcp/mcp_queue.php | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/phpBB/includes/mcp/mcp_queue.php b/phpBB/includes/mcp/mcp_queue.php index 4b3e16d713..3567e545f0 100644 --- a/phpBB/includes/mcp/mcp_queue.php +++ b/phpBB/includes/mcp/mcp_queue.php @@ -72,6 +72,7 @@ class mcp_queue  			case 'delete':  				$post_id_list = $request->variable('post_id_list', array(0));  				$topic_id_list = $request->variable('topic_id_list', array(0)); +				$delete_reason = $request->variable('delete_reason', '', true);  				if (!empty($post_id_list))  				{ @@ -80,7 +81,7 @@ class mcp_queue  						global $phpbb_root_path, $phpEx;  						include($phpbb_root_path . 'includes/mcp/mcp_main.' . $phpEx);  					} -					mcp_delete_post($post_id_list, false, '', $action); +					mcp_delete_post($post_id_list, false, $delete_reason, $action);  				}  				else if (!empty($topic_id_list))  				{ @@ -89,7 +90,7 @@ class mcp_queue  						global $phpbb_root_path, $phpEx;  						include($phpbb_root_path . 'includes/mcp/mcp_main.' . $phpEx);  					} -					mcp_delete_topic($topic_id_list, false, '', $action); +					mcp_delete_topic($topic_id_list, false, $delete_reason, $action);  				}  				else  				{ | 
