diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2007-07-10 15:14:25 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2007-07-10 15:14:25 +0000 |
commit | 2d5298e8e1a4c8da2f0db71d63196aae1cad5fe1 (patch) | |
tree | 20cc92d3b1136876bccb7548dda2c27c223d23c8 /phpBB/includes/functions_posting.php | |
parent | f538d70301a38cd65ca9d2463db0420c5eb1f3e0 (diff) | |
download | forums-2d5298e8e1a4c8da2f0db71d63196aae1cad5fe1.tar forums-2d5298e8e1a4c8da2f0db71d63196aae1cad5fe1.tar.gz forums-2d5298e8e1a4c8da2f0db71d63196aae1cad5fe1.tar.bz2 forums-2d5298e8e1a4c8da2f0db71d63196aae1cad5fe1.tar.xz forums-2d5298e8e1a4c8da2f0db71d63196aae1cad5fe1.zip |
some fixes here and there
git-svn-id: file:///svn/phpbb/trunk@7860 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_posting.php')
-rw-r--r-- | phpBB/includes/functions_posting.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php index c3190cdee8..bc968c5e1b 100644 --- a/phpBB/includes/functions_posting.php +++ b/phpBB/includes/functions_posting.php @@ -757,7 +757,7 @@ function posting_gen_attachment_entry($attachment_data, &$filename_data) $hidden .= '<input type="hidden" name="attachment_data[' . $count . '][' . $key . ']" value="' . $value . '" />'; } - $download_link = append_sid("{$phpbb_root_path}download.$phpEx", 'mode=view&id=' . (int) $attach_row['attach_id'], false, ($attach_row['is_orphan']) ? $user->session_id : false); + $download_link = append_sid("{$phpbb_root_path}download.$phpEx", 'mode=view&id=' . (int) $attach_row['attach_id'], true, ($attach_row['is_orphan']) ? $user->session_id : false); $template->assign_block_vars('attach_row', array( 'FILENAME' => basename($attach_row['real_filename']), |