aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/download.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/download.php')
-rw-r--r--phpBB/download.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/phpBB/download.php b/phpBB/download.php
index f60b4e08bd..64d147fa79 100644
--- a/phpBB/download.php
+++ b/phpBB/download.php
@@ -63,8 +63,7 @@ if ($attachment['is_orphan'])
trigger_error('ERROR_NO_ATTACHMENT');
}
- $extensions = array();
- $cache->obtain_attach_extensions($extensions);
+ $extensions = $cache->obtain_attach_extensions();
}
else
{