1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 13:30:25 +02:00

Merge pull request #2021 from nickvergessen/ticket/12171

Ticket/12171 Attachments from soft-deleted posts are still downloadable
This commit is contained in:
Nathan Guse
2014-02-20 20:51:58 -06:00
6 changed files with 455 additions and 35 deletions

View File

@@ -1736,7 +1736,7 @@ for ($i = 0, $end = sizeof($post_list); $i < $end; ++$i)
);
}
$methods = phpbb_gen_download_links('post_msg_id', $row['post_id'], $phpbb_root_path, $phpEx);
$methods = phpbb_gen_download_links('post_id', $row['post_id'], $phpbb_root_path, $phpEx);
foreach ($methods as $method)
{
$template->assign_block_vars('postrow.dl_method', $method);