aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/acp/acp_database.php2
1 files changed, 1 insertions, 1 deletions
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);