diff options
author | Andreas Fischer <bantu@phpbb.com> | 2012-08-07 16:55:31 +0200 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2012-08-07 16:55:31 +0200 |
commit | 3de4a7e78d2420bf14675ba4c8f66d15f191885f (patch) | |
tree | b8a8a03cd21cc5e1a46779d78f47fcbe0e95a3cc /phpBB/download | |
parent | 4b06a220af23dd8888a9e7501348170746663458 (diff) | |
download | forums-3de4a7e78d2420bf14675ba4c8f66d15f191885f.tar forums-3de4a7e78d2420bf14675ba4c8f66d15f191885f.tar.gz forums-3de4a7e78d2420bf14675ba4c8f66d15f191885f.tar.bz2 forums-3de4a7e78d2420bf14675ba4c8f66d15f191885f.tar.xz forums-3de4a7e78d2420bf14675ba4c8f66d15f191885f.zip |
[feature/attach-dl] Also initialise $attachments as an array.
PHPBB3-11042
Diffstat (limited to 'phpBB/download')
-rw-r--r-- | phpBB/download/file.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/download/file.php b/phpBB/download/file.php index b1a376155d..7e04fa2551 100644 --- a/phpBB/download/file.php +++ b/phpBB/download/file.php @@ -151,7 +151,7 @@ if (!$config['allow_attachments'] && !$config['allow_pm_attach']) trigger_error('ATTACHMENT_FUNCTIONALITY_DISABLED'); } -$attachment_ids = array(); +$attachments = $attachment_ids = array(); if ($download_id || $post_id || $topic_id) { $sql = 'SELECT a.attach_id, a.in_message, a.post_msg_id, a.extension, a.is_orphan, a.poster_id, a.filetime |