diff options
Diffstat (limited to 'phpBB/includes/mcp/mcp_main.php')
-rw-r--r-- | phpBB/includes/mcp/mcp_main.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/phpBB/includes/mcp/mcp_main.php b/phpBB/includes/mcp/mcp_main.php index 8862cf31dd..06c06cd98a 100644 --- a/phpBB/includes/mcp/mcp_main.php +++ b/phpBB/includes/mcp/mcp_main.php @@ -602,6 +602,11 @@ function mcp_delete_post($post_ids) if (confirm_box(true)) { + if (!function_exists('delete_posts')) + { + include_once($phpbb_root_path . 'includes/functions_admin.'.$phpEx); + } + // Count the number of topics that are affected // I did not use COUNT(DISTINCT ...) because I remember having problems // with it on older versions of MySQL -- Ashe |