1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-11 11:13:59 +02:00

[ticket/12171] Split post and pm download links

PHPBB3-12171
PHPBB3-12172
This commit is contained in:
Joas Schilling
2014-02-08 15:56:52 +01:00
parent 8744b0da6d
commit e4129687cb
3 changed files with 23 additions and 20 deletions

View File

@@ -1740,7 +1740,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);