aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_attachments.php
diff options
context:
space:
mode:
authorHenry Sudhof <kellanved@phpbb.com>2007-04-30 10:46:17 +0000
committerHenry Sudhof <kellanved@phpbb.com>2007-04-30 10:46:17 +0000
commit42251d008c06ad0f475f116643c6583fc9a4eda7 (patch)
tree0380ef1d4f7224c96612a8951988a59f33c6074e /phpBB/includes/acp/acp_attachments.php
parentdc747b8d994b6f5d07182196ed9deed7959a7317 (diff)
downloadforums-42251d008c06ad0f475f116643c6583fc9a4eda7.tar
forums-42251d008c06ad0f475f116643c6583fc9a4eda7.tar.gz
forums-42251d008c06ad0f475f116643c6583fc9a4eda7.tar.bz2
forums-42251d008c06ad0f475f116643c6583fc9a4eda7.tar.xz
forums-42251d008c06ad0f475f116643c6583fc9a4eda7.zip
Prepare to be yelled at and brace for the tide of bug reports: I had hoped we would not have to do this, but it seems that we have to.
-Route all avatar downloads through download.php - adrien -Change the way inline attachments are delivered -Fixes a few (unreported) bugs, notably avatar upload during group generation -#10079 git-svn-id: file:///svn/phpbb/trunk@7429 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/acp/acp_attachments.php')
-rw-r--r--phpBB/includes/acp/acp_attachments.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/acp/acp_attachments.php b/phpBB/includes/acp/acp_attachments.php
index adaf39a8c5..ed8daf911f 100644
--- a/phpBB/includes/acp/acp_attachments.php
+++ b/phpBB/includes/acp/acp_attachments.php
@@ -983,7 +983,7 @@ class acp_attachments
'PHYSICAL_FILENAME' => basename($row['physical_filename']),
'ATTACH_ID' => $row['attach_id'],
'POST_IDS' => (!empty($post_ids[$row['attach_id']])) ? $post_ids[$row['attach_id']] : '',
- 'U_FILE' => append_sid($phpbb_root_path . 'download.' . $phpEx, 'id=' . $row['attach_id']))
+ 'U_FILE' => append_sid($phpbb_root_path . 'download.' . $phpEx, 'mode=view&amp;id=' . $row['attach_id']))
);
}
$db->sql_freeresult($result);