summaryrefslogtreecommitdiff
path: root/admin_trees_download.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin_trees_download.php')
-rw-r--r--admin_trees_download.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin_trees_download.php b/admin_trees_download.php
index 030ddf77f2..446aff9b90 100644
--- a/admin_trees_download.php
+++ b/admin_trees_download.php
@@ -71,7 +71,7 @@ if ($action === 'download') {
rewind($tmp_stream);
// Create a new/empty .ZIP file
- $temp_zip_file = tempnam(sys_get_temp_dir(), 'webtrees-zip-');
+ $temp_zip_file = tempnam(sys_get_temp_dir(), 'webtrees-zip-');
$zip_filesystem = new Filesystem(new ZipArchiveAdapter($temp_zip_file));
$zip_filesystem->writeStream($download_filename, $tmp_stream);