diff --git a/phpBB/includes/acp/acp_database.php b/phpBB/includes/acp/acp_database.php index 1424bdb84d..e3da57fdfb 100644 --- a/phpBB/includes/acp/acp_database.php +++ b/phpBB/includes/acp/acp_database.php @@ -578,7 +578,7 @@ class base_extractor } // bzip2 must be written all the way at the end - if ($this->format === 'bzip2') + if ($this->download && $this->format === 'bzip2') { $c = ob_get_clean(); echo bzcompress($c);